Comment by jiggawatts
1 hour ago
> Why check it? It's obviously going to be correct.
I used to obsessively check the assembly (machine code) output of my C++ compiler because it would regularly miss essential optimisations and my tight inner loops would blow through my time budget.
I haven't done this in decades, it's just not worth the hassle almost always, the compiler will do a better job than me at optimising the runtime performance. If anything, "second guessing" the compiler will often degrade performance!
I'm starting to notice this now, where my clumsy attempts at refactoring AI-authored code introduced bugs that the original vibe-coded output didn't have.
No comments yet
Contribute on Hacker News ↗