Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 21:24:38 +0200
From:      Joe Gain <joe.gain@gmail.com>
To:        =?UTF-8?B?5paH6bOl?= <bunchou@googlemail.com>
Cc:        Matthew Seaman <matthew@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: Why Clang
Message-ID:  <CAO6-GAdDBM%2BLxf2eNE97MS1v2G=ni2zqQyLVWZJ8Xj-c-suLFg@mail.gmail.com>
In-Reply-To: <20120606211144.5135cce9@kuro.5550h.net>
References:  <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <20120606211144.5135cce9@kuro.5550h.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 6, 2012 at 9:11 PM, 文鳥 <bunchou@googlemail.com> wrote:
> On Wed, 06 Jun 2012 19:05:59 +0100
> Matthew Seaman <matthew@FreeBSD.org> wrote:
>
>> On 06/06/2012 18:28, Thomas D. Dean wrote:
>> > Has the discussion on why change to clang been made available?
>>

You might be interested in this video:
http://www.llvm.org/devmtg/2011-11/videos/Davis_LLVMinFreeBSD-mobile.mp4

>> Yes, endlessly.  Mostly on lists like freebsd-hackers@... and at
>> various conferences and developer summits.  Check the list archives.
>>
>> > I would like to know the reasoning.
>>
>> It's simple.  gcc-4.2, which is what the base system compiler is
>> derived from is:
>>
>>     * fairly old
>>
>>     * doesn't perform as well as more recent compilers
>>
>>     * doesn't adhere to recently established standards
>
> There's another good reason for clang which nobody mentioned so far:
> clear diagnostics. If you ever had to wade through gcc's debug output
> and compare several thousand character long template instantiations,
> just to find where they differ and then see the clear problem
> descriptions that clang produces instead, you'll understand what I
> mean.
> And in combination with libc++, which just arrived on stable, I am
> finally able to use all the features of C++11 that I want. Try to use
> e.g. std::regex even on g++47, and just see what happens.
> Of course, getting rid of GPL is an added benefit ;)
> After reading all those complaints, I just had to respond and thank
> everyone involved very much for importing clang and libc++. Great job
> well done!
>
> Best regards,
>  文鳥
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



-- 
joe gain

jacob-burckhardt-str. 16
78464 konstanz
germany

+49 (0)7531 60389

(...otherwise in ???)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO6-GAdDBM%2BLxf2eNE97MS1v2G=ni2zqQyLVWZJ8Xj-c-suLFg>