LLVM is a great step forward in compilers but it's ties with apple and the recent devious deeds it is capable of is holding me back from contributing to LLVM.
LLVM is a great step forward in compilers but it's ties with apple and the recent devious deeds it is capable of is holding me back from contributing to LLVM.
What would be their motivation for restricting down to a single compiler? They had a (silly) reason to lock people into Objective-C; but that reason doesn't apply here. And even if they did, how would that be different from now where GCC is the only option?
One is that Apple likes control. They could hire the lead LLVM developer, own the copyrights, and use a permissive license, allowing them to exert a lot more control over the project.
Another is that Apple is allergic to the GPLv3. They have stopped upgrading to newer versions of GCC in recent Mac OS X releases, because they are afraid that the GPLv3 may prevent them from Tivoizing the iPhone and iPad.
And back when they were NeXT, they tried to release their Objective-C extensions to GCC as a proprietary patch, but wound up being forced to release them as free software by the GPL. They may want to avoid that sort of thing in the future. For instance, I don't believe they release as free software their implementation of OpenGL which uses LLVM.
So yes, I think it's entirely possible at some point in the future that Apple will say "you must use Clang to compile for the iPhone/iPad platform." And it may even be a special, proprietary version of Clang, targeted at a custom chip in the iPhone or iPad. They have worked very hard to have full control of the platform and toolchain, and made sure that it's all under licenses that will allow them to make it proprietary whenever they wish. They can't quite switch to Clang yet, as its C++ support is not finished yet (though it does cover enough to self-host), but once they do, I absolutely would not be surprised if they mandated its use.
I don't believe that the FSF's tactics are correct in all cases. I think that they could do better about encouraging and not alienating certain developer communities. But software freedom is a very important goal, and they are one of the few groups out there truly dedicated to software freedom.