3 ms·
It means that you won't end up relying on a specific compiler's quirks or implementation of the language. You can expect different compilers to handle undefine
by simcop2387 9y ago
It means that you won't end up relying on a specific compiler's quirks or implementation of the language. You can expect different compilers to handle undefined behavior in different ways which will help you catch where you're doing things you shouldn't be. And since you're no longer relying on a single compiler you are more likely to be able to support other platforms and compilers that don't have a gcc port (they do exist, even if they aren't common).
- CJefferson 9y agoYou have to rely on compiler's implementation -- you can't implement a kernel in pure C unfortunately, you need to do some things "outside" of C. In practice, most supporting of the kernel has come about by clang implementing things how gcc do them anyway.