Why Clang

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sat Jun 16 16:17:23 UTC 2012

> Clearly an update was necessary.  Unfortunately, later versions of gcc
> have switched to GPLv3, which is a viral license and unacceptable to the
> FreeBSD project.

wasn't aware of that.

> Therefore clang was chosen from amongst a number of alternatives as the
> best replacement.  That makes it sound as if clang is a second class
> option compared to recent gcc, but this is certainly not the case:
> results from clang are comparable to the latest gcc versions and the
> design of clang is such that further optimizations and improvements can
> be readily incorporated.

and - at least for now - clang itself is very slow. But produces not worse 
(or better) code than gcc.

More information about the freebsd-questions mailing list