HACKER Q&A
📣 odedbend

Why GPT is so better in Rust than copilot?


I thought that both should use a similar engine (OpenAI). If there is a difference, then Copilot should be better because it is trained for code and has context. But when I've checked GPT is much better.. Can anyone explain this?


  👤 ezedv Accepted Answer ✓
From my research, GPT has a broader knowledge base, enabling it to generate more accurate and contextually relevant suggestions. However, Copilot's focus on code might make it more specialized in certain cases. It'd be interesting to see real-world comparisons to understand the nuances better.

Found this article, it might be interesting: https://www.ratherlabs.com/post/how-to-hire-rust-and-solidit...


👤 satvikpendem
Copilot is a much older model than GPT 3.5 even, so there's no surprise that it's worse. Thankfully Copilot will be upgraded to GPT 4 soon, Microsoft said.

👤 ilaksh
Please be more precise. You should say ChatGPT if you mean that product. Also specify which model, GPT-3.5 or GPT-4.

Short answer is they use different models.


👤 throwawayadvsec
do you mean copilot autocompletion or the crappy chat copilot in beta?

you're not prompting copilot that's one reason