logoalt Hacker News

IncreasePostsyesterday at 10:45 PM6 repliesview on HN

Why would we need rust, if the AI can just write really good code in C that doesn't exhibit any of the issues that rust protects you from?


Replies

Aurornisyesterday at 10:49 PM

Rust's compile-time checks are actually a nice set of guardrails for LLMs.

Nobody who works with LLM generated code believes that LLMs produce fault-free code.

show 1 reply
vmg12today at 2:52 AM

> if the AI can just write really good code in C that doesn't exhibit any of the issues that rust protects you from?

"if"

If it could you wouldn't need to use Rust. It can't, qed.

msyyesterday at 10:48 PM

'rewrite in C, make sure there are no memory leaks'. You first.

show 1 reply
throwaway85825yesterday at 10:57 PM

The Rust ecosystem and build tools are much easier to use than C. The value of a language isn't just syntax.

show 1 reply
pessimizeryesterday at 10:50 PM

Because it can't?

show 2 replies
post-ityesterday at 10:50 PM

It can't, because there is no really good code to train off of.