Why Apple Chose Clang (2008)
- Licence<p>- Not designed to be difficult to extend<p>Everything else is basically irrelevant because as Clang has aged it's both slowed down and reached parity in both compile and execution speed. Phoronix even have GCC <i>faster</i> than Clang at building the Linux Kernel, even in an (according to a comment) biased sample where GCC wasn't built with lto enabled. GCC also (last time I tried) does better debug info.<p>LLVM is <i>much</i> easier to hack on, though, although some parts are more similar than you might expect.<p><a href="https://www.phoronix.com/scan.php?page=news_item&px=GCC-Faster-Kernel-Builds-Clang" rel="nofollow">https://www.phoronix.com/scan.php?page=news_item&px=GCC-Fast...</a><p>You should try and fettle with both to see what works best for your project.