Hacker News new | past | comments | ask | show | jobs | submit login

Has anyone had any success in code generation? I feel like chatgpt usually completely fails to write even a small function correctly unless it's a very trivial or well known problem. I usually have to go back and forth for a good long while explaining all the different bugs to it, and even then it often doesn't succeed (but often claims it's fixed the bugs). The types of things it gets wrong makes it a bit hard to believe it could improve enough to really boost dev productivity this year.



Hi, author here.

This is a pretty hard problem. And I haven't found anyone that's too good at this, but here are some interesting players:

- https://www.phind.com/ is a custom model fine-tuned on code, and pretty damn good - https://codestory.ai is a VSCode fork with an assistant built in. One of the things it does for you is write code, but imo that's not its biggest strength yet. - https://sweep.dev have a bot where you create a GitHub comment and it writes the PR to fix it. They have between 30% and 70% success rate. This is pretty bad but they're one of the best today - https://sourcegraph.com is pivoting and building a copilot application (named Cody). This is pretty good, since sourcegraph is great at understanding your code


Have you tried Cody (https://cody.dev)? Cody has a deep understanding of your codebase and generally does much better at code gen than just one-shotting GPT4 without context.

(disclaimer: I work at Sourcegraph)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: