[haiku-development] Re: Switch to Clang or GCC 4.9?

  • From: Pawel Dziepak <pdziepak@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 25 Apr 2014 18:35:16 +0200

2014-04-25 17:49 GMT+02:00 Jonathan Schleifer
<js-haiku-development@xxxxxxxxxxx>:
> Am 25.04.2014 um 12:28 schrieb Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
>
>> If GCC will always produce better code than Clang, there is no point in
>> switching -- you just cannot know in advance how the two projects will 
>> evolve.
>
> We're already at the point where Clang generates better code than GCC, and it 
> gets even better with each release ;). The only code where GCC still performs 
> better is OpenMP code. I'm not sure we have any OpenMP code for Haiku at all. 
> And even for that, there is a Clang fork that has OpenMP support that is 
> currently going through work to be merged upstream.

It would be really nice to see some actual examples of such "better
code" or at least benchmarks (using the latest versions of both
compilers).

Paweł

Other related posts: