logoalt Hacker News

sockaddryesterday at 7:14 PM2 repliesview on HN

Exactly. Here's my experience using LLMs to produce code:

- Rust: nearly universally compiles and runs without fault.

- Python,JS: very often will run for some time and then crash

The reason I think is type safety and the richness of the compiler errors and warnings. Rust is absolutely king here.


Replies

lmf4lolyesterday at 8:18 PM

I ve just vibed for 2 weeks a pretty complex Python+Next.js app. I've forced Codex into TDD, so everything(!) has to be tested. So far, it is really really stable and type errors haven't been a thing yet.

Not wanting to disagree, I am sure with Rust, it would be even more stable.

9rxyesterday at 7:31 PM

Calling a programming language without dependent types king of type safety is comical.

Does one get paid well to post these advertisements for Rust?

show 4 replies