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

Compiler bugs are supposed to get fixed.

In C regarding UB, everything goes every single time the compiler gets upgraded.




In many cases, what is considered UB in the C standard is a widely accepted and documented extension in the vast majority of compilers. For example, nonstrict aliases are UB in ISO C, but are defined language extensions in MSVC, GCC, clang, and many other compiler vendors.


Now try to maintain a large C codebase stable and safe across such variety of compilers.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: