Why? Isn't clang shittier than gcc?? These bsd guys really enjoy having worse performance than linux.
Phoronix: FreeBSD Jumps Quickly On LLVM/Clang 3.2
While just released on Friday, FreeBSD has already pulled LLVM/Clang 3.2 into its "head" repository and will be pushing it into the FreeBSD 9/Stable series in the weeks ahead...
http://www.phoronix.com/vr.php?view=MTI2MDU
Why? Isn't clang shittier than gcc?? These bsd guys really enjoy having worse performance than linux.
"Shittier" is a pretty vague and worthless term for a compiler. The phrase youre looking for is "Doesnt clang produce slower binaries than gcc?" In which case....mainline clang vs mainline gcc? Sure, yes it does. But *BSD has been stuck at mainline clang vs gcc 4.3 I think, and at THAT level I'm pretty sure clang matches or beats gcc.
Personally I'm looking forward to LLVM just because its a new, cleaner, code base, better debugging capacities (I know gcc is working on getting better but we'll see), more modular (see above), and integrates a lot better into IDE's because of the modularity of it.
If Apple wants to take mainline LLVM and add on some optimizations for closed source...fine, thats their right via the license. But I really don't think that Apple will take mainline LLVM and have some drastic differences vs mainline and their version it-- it adds more work for them to maintain those diff's and to make sure they stay current, usable and valid.
It's obvious the 1st, 2nd, and 3rd reasons they are using Clang is because of the BSD license.
And there's nothing wrong with that. Remember all the fuss GPL guys put up about Linus using a proprietary code repository software rather than svn/cvs? That turned out pretty well in the long run.
Clang is not under the BSD license. It is under the UoI-NCSA license, which is BSD-style, but different:
http://sources.gentoo.org/cgi-bin/vi...SA?view=markup