AI writes Python most and best.
Rust is a choice, because its compiler has more constraints on code semantics - the borrow checker. AI struggles against Rust compiler, and it deserves.
Other languages, such as C++, I don't think AI will have good support on them - if a reasoning chain for writing code is hard to human, then it will be also hard to AI. AI will cause the same amount of bugs.
I’d argue that it still makes a difference because the language can determine what kinds of issues are possible to occur, as well as the quality and availability of training data from that language. Rust is a good language for AI because it gives the agent immediate feedback if something is wrong.
But it may be the case that AI-specific languages and higher abstractions evolve and in future we may just be managing a series of prompts that generate code on the fly at compile time.
> But it may be the case that AI-specific languages and higher abstractions evolve and in future we may just be managing a series of prompts that generate code on the fly at compile time.
I am glad to this idea but I think it won't be natural languages - it may be some kind of Immediate Representation - full of semantic definite tokens.