| ▲ | cortesoft 4 hours ago | |||||||||||||||||||||||||||||||
I am guessing there is a balance between a language that has a lot of soundness checks (like Rust) and a language that has a ton of example code to train on (like Python). How much more valuable each aspect is I am not sure. | ||||||||||||||||||||||||||||||||
| ▲ | echelon 4 hours ago | parent [-] | |||||||||||||||||||||||||||||||
Rust is the best language for AI: - Rust code generates absolutely perfectly in Claude Code. - Rust code will run without GC. You get that for free. - Rust code has a low defect rate per LOC, at least measured by humans. Google gave a talk on this. The sum types + match and destructure make error handling ergonomic and more or less required by idiomatic code, which the LLM will generate. I'd certainly pick Rust or Go over Python or TypeScript. I've had LLMs emit buggy dynamic code with type and parameter mismatches, but almost never statically typed code that fails to compile. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||