It’s been a month since GPT-4 has been released, so time to talk about how well GPT-3.5 is generating code, right? In my defense, GPT-4 still isn’t available for everybody so many people are using 3.5 version.
Task
Task is as follows: write a Pong clone for a terminal in Rust. Pong game is very simple, but it’s not common to play it in your terminal. Rust was chosen because it’s arguably harder than JS/TS. Simplicity of the task is important, since chatGPT output is limited and while you can always ask it to continue the output, there’re various problems e.g. with formatting when doing that.
Read More