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

Main problem with breaking on undefined behavior is detecting it in the first place. It's not a choice not to warn/break it's an implementation challenge to find those.


I think one could reliably break (more safely) on undefined behavior by inserting defensive run-time checks. Whether that's worth the performance hit is liable to be domain specific.




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

Search: