logoalt Hacker News

My_Nametoday at 9:00 AM2 repliesview on HN

I did recently read an article about how, due to better training data, an AI writes better code in Rust than most other languages.

How that translates to the number of bugs, I don't know.

I would think that existing bugs would be caught, but new bugs would be introduced. The problem remains, but at least it has a new name now.


Replies

hazbottoday at 11:46 AM

I suspect it is the feedback from the stricter compiler, not differences in training data between python and rust

dnh44today at 11:10 AM

I’m developing three codebases right now where all of the code is written by AI (Swift, Python, Rust) and the Rust codebase requires the least pruning and has the fewest wtf moments.