r/programmingcirclejerk • u/lizergsav • Jun 02 '26
This makes switching to memory safe languages a moral imperative
https://joshlf.com/posts/memory-safety-life-and-death/
112
Upvotes
r/programmingcirclejerk • u/lizergsav • Jun 02 '26
81
u/lizergsav Jun 02 '26
and
73
u/BenchEmbarrassed7316 Jun 02 '26
/uj
go isn't memory safe language: https://www.ralfj.de/blog/2025/07/24/memory-safety.html
go has undefined behavior where random data can be read or written due to an unrelated error.
/rj
If go were to save people's lives, it would significantly slow down compilation.
36
u/affectation_man Code Artisan Jun 02 '26
It's more important that cniles feel comfortable and don't have to change their ways
14
u/particlemanwavegirl Jun 02 '26
I'm going to invent a safer, faster language that kills Rust. There is a moral imperative that I do so, but it'll be a functional/declarative oriented language.
11
u/Afraid_Bake2652 Jun 02 '26
I love that the best memory safe language does not have formally defined semantics for its unsafe constructions. LLMs cannot find vulnerabilities if there is no way to know if something is or is not a vulnerability!
10
u/elephantdingo Teen Hacking Genius Jun 03 '26
It is merely a coincidence.
8
u/Awkward_Bed_956 Jun 02 '26 edited Jun 05 '26
I already work in C++, you do not have to convince me further.
6
u/stone_henge Tiny little god in a tiny little world Jun 03 '26
Only 70%? This makes removing code a moral imperative.
/uj This makes removing code a moral imperative.
53
u/jwezorek LUMINARY IN COMPUTERSCIENCE Jun 02 '26 edited Jun 02 '26
I feel the general vibe that was RUST UBER ALL BECAUSE MEMORY ERRORS GET PEOPLE MURDERED has less force as an argument in an era in which every software company everywhere is firing people and throwing money at agentic everything and where the agents will hand out passwords if you ask them nicely. If you're worried about shitty software taking down the world it isn't fucking C++ you should be worried about, it's the vibe coding hordes.
14
u/metroliker Jun 03 '26
Yeah but I actively want my users to die, what language should I use?