DigiNews

Tech Watch by Johan Denoyer

← Back to articles

your c is not standard c

Quality: 8/10 Relevance: 9/10

Summary

The article highlights mismatches between the C standard and real-world compiler behavior, showing examples such as the asm keyword, FLT_ROUNDS, standard pragmas, initstate, qualifiers in return types, and musl header quirks. It argues that compilers like GCC/Clang diverge from the standard by default or in practice, and notes portability concerns when targeting glibc vs musl. The piece sets up a promise to explore these issues further and discusses the implications for portable C code.

🚀 Service construit par Johan Denoyer