News for hackers. Stuff that matters.

Ask HN: 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?
( 4 comments | 2 points | on HN )
Re:Ask HN: Why GPT is so better in Rust than copilot? by ilaksh on Sunday July 30, 2023 @10:14AM (#36931325)
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.

Re:Ask HN: Why GPT is so better in Rust than copilot? by throwawayadvsec on Sunday July 30, 2023 @10:25AM (#36931424)
do you mean copilot autocompletion or the crappy chat copilot in beta?

you're not prompting copilot that's one reason

Re:Ask HN: Why GPT is so better in Rust than copilot? by satvikpendem on Sunday July 30, 2023 @06:49PM (#36936798)
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.
Re:Ask HN: Why GPT is so better in Rust than copilot? by ezedv on Monday July 31, 2023 @10:53AM (#36943492)
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...