Re: C to Rust rewrite with ChatGPT
With regards to chatgpt, it's not good enough no. It frequently gets concepts and code wrong. I find myself correcting it upwards of 90% of the time. When I ask a question but I'm the one that has to correct it, it's not a good sign, as I might as well not have asked to begin with. I also see a lot of new people come in with concepts that they learned from chatgpt, and I (and others) have to correct them, because chatgpt got it completely wrong, or misled them in a subtle way.
Chatgpt can be useful, but there are limits to it and one has to know the limits.
With regards to GitHub copilot, I've never used it. But I would expect it to be much better given that its entire purpose is to get it right in the first place (I don't remember, but I'm not sure that at the time of posting copilot even supports rust or not)