HackerTrans
TopNewTrendsCommentsPastAskShowJobs

"No way to prevent this" say users of only language where this regularly happens(xeiaso.net)

27 points·by theshrike79·2 lata temu·17 comments
xeiaso.net
"No way to prevent this" say users of only language where this regularly happens

https://xeiaso.net/shitposts/no-way-to-prevent-this/OVE-20240719-0001/

19 comments

000ooo000·2 lata temu
This was only mildly amusing the first time, and it doesn't improve with every repost.
mgaunard·2 lata temu
Nice biased article, I'm surprised they didn't mention Rust.
[deleted]·2 lata temu
skilled·2 lata temu
Rust is amazing tho... it has no memory problems and it is 100% memory safe.. very secure.
mgaunard·2 lata temu
most security problems are not memory safety problems.
skilled·2 lata temu
Ohh… didn’t realize that. Will email CISA to tell them to withdraw their monthly “switch to memory safe languages” bulletin.
mgaunard·2 lata temu
That's because there is no systematic solution to the real problems.
lambdaone·2 lata temu
There certainly are systematic solutions to at least _some_ of the real problems, based on formal methods, of which Rust's checkers are a simple example, and it's an inexcusable moral failure that they are not used more widely.

Reliable software is expensive to develop; more expensive than we are willing to admit. You can either take the expense at development time by increasing development cost, or you can shift it until later and externalise the cost by making the end-user and society at large suck it up in terms of unreliability and occasional disaster.

We are at the stage the Victorians were with exploding boilers, or people in early Medieval times were with collapsing cathedrals. They fixed their problems, and so can we.
Mesopropithecus·2 lata temu
Not familiar with the details, but page fault != segfault.
desdenova·2 lata temu
What Linux calls a segmentation fault is actually almost always a page fault.
Mesopropithecus·2 lata temu
Ok satire and i fell for it. Nice.
mrjaeger·2 lata temu
What this article is parodying, in case folk aren't familiar https://en.wikipedia.org/wiki/%27No_Way_to_Prevent_This,%27_...
esalman·2 lata temu
C++ is the only language where this happens? Highly doubt. It's probably because more applications are written in C++ than anything else, so it gets more visibility.
smnrchrds·2 lata temu
> It's probably because more applications are written in C++ than anything else

I imagine Java is as popular as C++ if not more. And C# is (or at least was) huge in Europe too.
desdenova·2 lata temu
C++ inherited this from C, so there's at least two languages where this regularly happens.
watmough·2 lata temu
I kinda wondered my my Windows 11 based work laptop had rebooted... I guess I should go check if it's still working right.
PaulHoule·2 lata temu
"There really isn't anything we can do to prevent memory safety vulnerabilities from happening if the programmer doesn't want to write their code in a robust manner" is funny because it's hard to do it right even if you care. The way you do things right consistently is make it easier to do it right than do it wrong.
miloignis·2 lata temu
For those not in the know, Xe posts a version of this story everytime something like this happens (large scale memory safety failure), just like The Onion re-posts their similar article after every mass shooting in the US.
[deleted]·2 lata temu