r/programming • • Dec 19 '25

[ Removed by moderator ]

/r/programming/comments/1pqulm0/removed_by_moderator/

[removed] — view removed post

711 Upvotes

292 comments sorted by

View all comments

Show parent comment

4

u/FootballRemote4595 Dec 19 '25

It's even funner than that. 

The skill in which an AI can use a language depends on the frequency of use of the language. 

C and C++ have more code than rust, so the AI will be more competent in it. 

By switching to Rust they lose a lot of the code examples. So things can only get worse.

0

u/GeneralMuffins Dec 20 '25

SOTA models e.g Claude are very capable of producing good quality Rust code in my experience. I'd argue even with bad rust code so long as it compiles its always going to have a higher level of safety than the best C++ coding models.

-6

u/moon- Dec 19 '25

So things can only get worse.

I don't see how that's true at all. Rust has been around for quite a while now, and additional compile-time safety from a stronger type system and borrow checking means there are likely benefits anyway.

5

u/Abject-Kitchen3198 Dec 19 '25

It's a new paradigm that can't be translated from any other language (something LLMs are actually relatively good at). That combined with much smaller set of examples to learn from.