Clang'ed FreeBSD: Builds Quicker, Uses Way Less RAM
Phoronix: Clang'ed FreeBSD: Builds Quicker, Uses Way Less RAM
A FreeBSD developer has carried out a series of performance tests to explore the impact that LLVM/Clang as the default FreeBSD compiler has on FreeBSD 10 in its current form. The Clang compiler performance was compared to GCC 4.2.1 and GCC 4.7.1. Clang mostly comes out ahead of GCC on FreeBSD...
http://www.phoronix.com/vr.php?view=MTE3NjI
For a distro is this a wise decision?
I appreciate that clang may be more CPU and memory efficient than gcc when compiling some C++ programs. That's great.
But, for a distro, the issue of the speed of the resultant binaries as well as well (in some part) the size of those binaries.
This is similar to the arguements over which compression program to use on distrubtions package files. If 10x more CPU in compression or 10x (or even in combination with) more memory usage during the compression stage is worth it if it produces a slightly smaller package as long as there are no large negatives in the decompression stage.
Compile/compress once run/decompress *many times*. It's pretty clear which side deserves more effort.