4 ms·
> And of course, once your code does not target just one single machine then you're forced to have to worry about portability and standard compliance etc. Well
by kouosi 4mo ago
> And of course, once your code does not target just one single machine then you're forced to have to worry about portability and standard compliance etc.
Well linux exclusively usages gcc to compile.
- fanf2 4mo agohttps://www.kernel.org/doc/html/latest/kbuild/llvm.html https://www.kernel.org/doc/html/latest/kbuild/llvm.html
- Maxatar 4mo agoThat's a good point, the more precise statement is that Linux exclusively uses gnu11 to compile. Clang happens to implement gnu11, I think it's the only non-GCC compiler to do so.
- pjmlp 4mo agoWhich was largely sponsored by Google, as they removed GCC from Android, and needed to have clang compile the Linux kernel. For a long time only Android Linux kernel downstream supported it.
- einpoklum 4mo agoYes, sorry, mistype, that should have been "single kind of machine" or "single operating system".