|
|
|
|
|
by zozbot234
361 days ago
|
|
> undefined behavior that even a mid-level C++ dev could have easily caught (assuming iterator stability in a vector that was being modified) This is not an AI thing, plenty of "mid-level" C++ developers could have made that same mistake. New code should not be written in C++. (I do wonder how Claude AI does when coding Rust, where at least you can be pretty sure that your code will work once it compiles successfully. Or Safe C++, if that ever becomes a thing.) |
|
I'm able to use AI for Rust code a lot more now than 6 months ago, but it's still common to have it spit out something decent looking, but not quite there. Sometimes re-prompting fixes all the issues, but it's pretty frustrating when it doesn't.