Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's no reason not to use Rust for LLM-generated code in the longer term (other than lack of Rust code to learn from in the shorter term).

The stricter typing of Rust would make sematic errors in generated code come out more quickly than in e.g. Python because using static typing the chances are that some of the semantic errors are also type violations.



> (other than lack of Rust code to learn from in the shorter term)

FWIW Claude Code is quite good at writing Rust, and Claude and Gemini are both surprisingly good at explaining complex third-party Rust libraries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: