Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

do tools like cursor get a special pass? Or do they do some magic?

I'm always amazed at how well they deal with diffs. especially when the response jank clearly points to a "... + a change", and cursor maps it back to a proper diff.



Cursor for instance does lots of tricks to make applying janky diffs efficient, e.g. https://blog.getbind.co/2024/10/02/how-cursor-ai-implemented...


I think Cursor would need to have their own system prompt for most of this, I don't think the API includes much of this.




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

Search: