News for hackers. Stuff that matters.
Re:How to speed up the Rust compiler in September 2026 by GuB-42 on Thursday October 01, 2026 @11:33PM (#49929573)
Rust and LLMs are a good match.

Rust is built on the idea that code that compile must be correct, to the best of its abilities. LLMs are fast and sloppy, Rust keeps them in check by not letting them get away with preventable bugs.

Of course, Rust can't do anything for spec bugs, like making the stop light green when it should be red, but it can help with crashes and vulnerabilities.

Re:How to speed up the Rust compiler in September 2026 by wannabe44 on Friday October 02, 2026 @12:39AM (#49929899)
Real world is far messier than that. Eg:

1. https://www.phoronix.com/news/Ubuntu-Rust-Coreutils-Audit - file system and OS aren't always neatly represented in tYpE sYsTeM.

2. https://blog.cloudflare.com/18-november-2025-outage/ - bad programmers can write bad code in any language.

3. https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on... - the culture of trusting random strangers logging in through GitHub without even 2FA is concerning too, given that AI agents can trust some web search and install a malicious cargo package very easily.

If we compare open issues in comparable rust and Go software (eg: sharkdp/bat vs sharkdp/fd) one would find there's no persisting pattern where rust is better.

Re:How to speed up the Rust compiler in September 2026 by GuB-42 on Friday October 02, 2026 @08:53AM (#49932979)
Another thing I might add is that Rust is a relatively popular language, with a culture of writing high quality code. Many people, starting by those of Mozilla chose Rust to write security-critical, efficient software. They wouldn't chose it for throwaway, low skill, non-critical code, as there are languages that are more appropriate for this.

The result is a large amount of high quality code a LLM can train on. Compare to Zig for instance, which is a fine language, but not as popular so lacking in volume for good training. You then can understand why Anthropic ported Bun from Zig to Rust if they intend to vibe code. Languages like PHP, while actually quite decent today, have a long history of terrible code, so not great for a LLM as most of its training dataset is poisoned.

The unfortunate part is that it may not last. If Rust becomes the de-facto language for LLM production, overall quality may decrease. It is a common problem with many machine learning techniques including LLMs: feeding them their own output tend to decrease quality.