Apple LLVM Compiler != clang / llvm from llvm.org.
For example, Apple LLVM Compiler 3.1 — is a modified version of LLVM between 3.0 and 3.1. Modifications are closed source.
This is possible, because LLVM and CLANG are BSD licensed. This is something predicted because its BSD licensed thing.
Apple LLVM is optimized for Apple platform. The results produced from both stacks can vary.
I would use GCC, because it produces much faster binary for much more platforms, the compiler is GPL licensed - no buggy(open)/working(closed source) split present as with LLVM. The pro's of LLVM is that its modular and as such its to IR parsers are more capable to identify syntax bugs correctly.
I would not consider LLVM to be a serious solution at any timepoint, just as I don't consider BSD to be anything serious unlike MacOSX for desktops and Linux for desktops and servers.
But if you want to work gratis for Apple, you can ofc contribute to LLVM. Btw, GPL which unlike BSD really protects freedom of subject it covers, is banned from Apple.


Reply With Quote
