News for hackers. Stuff that matters.
Re:My Software North Star by flohofwoe on Sunday June 07, 2026 @07:29AM (#48433833)
Why would *any* programming language matter when LLMs can just directly output binaries from a sufficiently detailed spec ;)

And specifically, why would Rust be a better choice than C or Zig when the LLMs get good enough to just write memory safe code in unsafe languages (they are already pretty good at finding memory safety bugs).

IMHO for code generation, different things start to matter (like fast build times, while 'convenient highlevel abstractions' become less important).

Re:My Software North Star by zozbot234 on Sunday June 07, 2026 @08:26AM (#48434140)
Writing memory safe code in unsafe languages requires global reasoning, which LLMs are terrible at. The whole point of a type system or a borrow checker like Rust's is to thread the requirements for safety throughout the program syntax in a way that makes it possible to spot problems locally. That's why LLMs tend to be rather good at writing Rust.
Re:My Software North Star by kristoff_it on Sunday June 07, 2026 @08:35AM (#48434212)
> Writing memory safe code in unsafe languages requires global reasoning

If you learn how to use arena allocators and in general use modern techniques, you don't need global reasoning to write correct memory management code pretty much never.

If your code is a RAII and abstraction maze, then yes, you will probably need global reasoning, but that's not the case with Zig.

Re:My Software North Star by J_Shelby_J on Sunday June 07, 2026 @02:37PM (#48437451)
The billion dollar “if”
Re:My Software North Star by kibwen on Sunday June 07, 2026 @04:18PM (#48438136)
Arena allocators are great for certain use cases, but they don't provide any solutions to memory unsafety; they don't do anything for use-after-free, they don't do anything for buffer overruns, they don't address any sources of undefined behavior, and they don't do anything for thread-safety, which is a requirement for memory safety.
Re:My Software North Star by saagarjha on Monday June 08, 2026 @06:23AM (#48443489)
Not all code can be expressed well by an arena allocator.
Re:My Software North Star by trumpdong on Sunday June 07, 2026 @08:39AM (#48434247)
Writing anything safe code in any language that doesn't have that safety built in requires global reasoning. That's why LLMs aren't better at writing rm-rf/-safe code in Rust.
Re:My Software North Star by tasuki on Sunday June 07, 2026 @03:42PM (#48437855)
> when the LLMs get good enough to just write memory safe code in unsafe languages

There is, and always will be, a huge difference between "because a LLM said so" and "here is a proof this is memory safe".