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

I'd love it if the C standard just removed undefined behavior, replaced explicit instances ("the behavior is undefined" to "the behavior is implementation defined") and put in a blanket "Any behavior not specified by this standard is implementation defined". Keep the rest the same, just document the footguns. Implementation defined is exactly as powerful as undefined, it just makes the compiler writer describe what will happen.


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

Search: