News for hackers. Stuff that matters.
Re:How to speed up the Rust compiler in September 2026 by jeroenhd on Friday October 02, 2026 @02:01AM (#49930258)
Go is full of footguns and LLMs still cannot be trusted to follow the rules they themselves conjured up out of thin air. Unlike humans, they don't need to be taught the language (which is the hardest part of using Rust, by far), so they get more benefits out of it than many humans do.

LLMs do trip up when they generate Rust code, but they also do when generating any other language. The big difference is that the Rust compiler refuses to compile broken code faster, whereas Go will just let you SIGSEGV on edge cases without warning.

The recent TLA+ hype here on HN shows that Rust may just be the beginning here. There are valid, safe Rust programs that will crash, the language isn't perfect. The older languages with more math and validation behind them (Ada?) are probably even better suited for generated code, but they don't have the hype culture to capture mainstream attention (and even fewer people have the ability to really review that code).

There's an alternative solution of course: use platforms like JS/.NET/JVMs/Python to run code that cannot violently crash because of the language runtime around it. That comes with a performance overhead but it's good for prototyping without as many stability footguns and with faster compilations.

Re:How to speed up the Rust compiler in September 2026 by mkesper on Friday October 02, 2026 @03:48AM (#49930921)
In JS and Python it's really easy to produce runtime errors. So no SIGSEGV without C modules but you're not sure it works either.