Earlier quoted context omitted.
Wow I can't use bard yet as I'm in the EU. But ChatGPT has never done something like this to me.
ChatGPT is ALWAYS doing stuff like this to me. Suggest code that doesn't compile, suggest SIMD instructions that don't exist, reiterate on incorrect answers with the exact same answer, etc. Granted I use ChatGPT 3.5.
But every time it gave me a very sensible solution.. Usually not something that worked right out of the box but never something totally stupid.