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

Undefined behavior is not a compiler bug: it's a necessity that is required to have language constructs that give you a way of doing things for which there is no good way to define the behavior of. Your compiler optimizes your code every day by concluding that you're not doing anything illegal: it would have a rather miserable time if it couldn't make these assumptions.


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

Search: