Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
p100sch14465yJavascript, hell just ban Java too.
PS. Webassembly and Kotlin still exist, so nobody should be too sad. -
Root797735yToss up between Lennart Poettering and emotions.
I'd normally say stupidity, but some very smart people base their decisions on emotion, and therefore still make poor choices. Then again, banning emotion would result in stupid people still being able to make stupid decisions.
So let's just ban Poettering.
Then again we could also ban corruption... that's probably the best choice. but Poettering isn't corrupt. 🤦♀️
Can I ban two things? -
Not literally directly related but; fucking trackers and non-privacy-respecting analytics.
-
Root797735y@linuxxx We could generalize and include most of these.
Ban anything against the user's best interest / anything harmful to the user.
That would include spying, malware, removal of user control, misleading tricks, Lennart Poettering, adware, selling of data, manipulation, .... -
@Root You would ban the lion share of Microsoft and Google business models. Thank you. I will vote for you. You should run for office. Don't care what, just run.
-
NULL pointers - or maybe all manual memory management.
So many bugs and problems gone. -
@Root You're saying to ban all software that's either non-free or needlessly headache-inducing.
-
Ignorant fucktards.
Including:
- this is my code. what have you done?
- I don't Inderstand this. It's bad. leave it like it is.
- Yeah. This is concerning in many ways, but we don't have time. Just ignore it.
- I don't think we should bother about working in teams - everyone should focus on his own project and work the way they like it.
- many many many many many more examples come to mind -
What a joy working could be. -
Programming language vs. programming language / spats.
I'd rather just get to solving the problem at hand. -
@kescherRant It's 2020, garbage collection is around for 61 years,.. but you still want to bash the JVM, Go or Rust for being slow or ineffecient for not going down to the unsafe raw pointers?
-
endor56665y@phorkyas there are environments where manual memory management is the only way to go, such as embedded devices - especially mission-critical ones, like satellites.
-
@phorkyas
"unsafe raw pointers"
This idea of safety is an ideologue argument against knowing what the fuck you are doing. -
@phorkyas I use both kinds of memory management, depending on the use case. Removing either would be braindead as fuck.
Take away the convenient garbage collection in many modern languages, and suddenly people can't fucking code anymore.
Take away the """unsafe""" (yeah it's only unsafe if you have no clue what you're doing) raw pointers and manual allocation and freeing, and you can may no longer have code running on low-power devices at all (such as your goddamn SIM card!)
These things are not being done without a good reason.
Also, very optimized code must be written with manual memory management, or it'll suffer. -
GPL.
Nowadays (with the introduction of v3) it serves no purpose than to bully and act elitist.
No, it doesn't serve the idea of freedom, because freedom includes the ability to do what you want with your own creations; Something GPLv3 actively inhibits. -
@kescherRant @root Well it's just that manual memory management accounts for 70% of security bugs (sauce: https://zdnet.com/article/...) - but maybe you are better than the Chrome engineers who also shoot some serious fuzzing at their code, or are more ingenious than djb whose qmail got exploited finally.
Of course there has to be some low level language close to the metal. But why has it to be C? Why not Rust, Lisp or JS (just kiddin)? Because that's the way we have been doing it for years and all the friggin' toolchains are now build like it and depend on it, because it "just works"? Am I not allowed to dream of another type of computing, isn't it supposed to be universal, independent of the physical device and language you use? -
Root797734y@phorkyas GCs, like all layers of abstraction, are incredibly inefficient. They're also slow and wasteful. If you want speed and resource efficiency, look elsewhere. As with all things, if you want it done right, do it yourself.
Now, if you're building something as sprawling and complicated as Chromium, a GC will absolutely save you many headaches. However, I can guarantee that you are not. Hiding behind this idea so you don't have to learn memory management is childish and will only hinder you. -
@phorkyas Yes, it accounts for 70% of security bugs.
If you make a mistake, it opens security holes.
However, if this was the approach taken by the Linux kernel, nobody would use the Linux kernel, because it would be too fucking slow.
Besides, I've mentioned that both approaches have their uses. I am fully aware of the pitfalls of both approaches. -
@phorkyas Also, you are allowed to dream about this stuff being universal, but it can't happen, due to the inherent differences in architecture that would first have to be abstracted away, causing performance slowdowns on already slow devices.
-
@root:
>As with all things, if you want it done right, do it yourself.
Like crypto ;-)
@kescherRant: As much as I like Linus and his stance that all the implementation details matter, I think it's just wrong to see C++, OOP or abstraction in general as opposing performance. Having a type system with which you can express invariants may not only make it easier for the developer to reason about the code, but even allow compiler optimization (remember Carmack the const-Nazi) - E.g. here Apple claims that moving from C to a subset of C++ they could make their drivers 75% smaller: https://developer.apple.com/library...
I know C is still the king of kernels, and Symbian and BeOS died, but I have already wasted too much life time hunting other's poeple C-string off by one errors, especially if it's causing a kernel panic in production code it's no fun anymore. -
@phorkyas I agree, certain abstractions are helpful.
But C++ still has no real GC.
Related Rants
-
Orionss21Fuck you StackOverflow! Why do you ban people who have a positive score? Shit, I'm raging right now. I have a ...
-
JoshBent5Setup my port honeypot today finally, including port 22, then wrote a custom dashboard for some data tracking,...
-
Unixxx4Putting SSH on another port and using fail2ban on the default one to ban everyone else trying to get in is a n...
*If you could ban something from the field of programming forever, what would it be? 👀
*Pls. don't ban me thx c:
question
ban