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

Compilers are afraid to optimize around possible UB, even though they can.



Having worked with key people from the SGI compiler team, and then competed with Intel / PGI / Sun / gcc on x86, I totally disagree.


I guess I should've looked when I said "Compilers". I only skimmed two and one of them is LLVM.


I totally see UB as a blessing in disguise for optimizer.


Usually, yeah. The art is making it debuggable, when the user accidentally strays into UB and needs help not doing that.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: