Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2012 11:44:16 -0500
From:      Mark Felder <feld@feld.me>
To:        freebsd-questions@freebsd.org
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Subject:   Re: Why Clang
Message-ID:  <op.wf3x32h134t2sn@tech304>
In-Reply-To: <alpine.BSF.2.00.1206181829210.99007@wojtek.tensor.gdynia.pl>
References:  <4FCF9333.70201@speakeasy.org> <4FCF9C07.2000607@FreeBSD.org> <alpine.BSF.2.00.1206161815550.41364@wojtek.tensor.gdynia.pl> <op.wf0i64pg34t2sn@me-pc> <alpine.BSF.2.00.1206172212440.2506@wojtek.tensor.gdynia.pl> <op.wf3upvdc34t2sn@tech304> <alpine.BSF.2.00.1206181749160.78762@wojtek.tensor.gdynia.pl> <op.wf3wd8vf34t2sn@tech304> <alpine.BSF.2.00.1206181829210.99007@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Jun 2012 11:37:55 -0500, Wojciech Puchar  
<wojtek@wojtek.tensor.gdynia.pl> wrote:

> This tens or hundreds of thousands of work-hours could be spent far  
> better by getting latest gcc available on GPLv2 licence and start from  
> there, just improving it.

We already have the latest available with GPLv2, which is very far behind  
and it requires GCC codebase experts to make any changes at all. This is  
equivalent to letting any random coder make major changes to OpenSSL --  
you simply cannot afford to risk it.

Yes, I noticed you showed a few benchmarks where Clang was slower. It's  
bound to be a bit slower with some test cases at first -- they're rounding  
out the features before going back for major optimizations. It won't be  
long and it will be sufficiently on par if not exceeding GCC's  
capabilities. Writing a compiler is no trivial task, and they've built the  
right framework and have a very active community.

Listen, Apple has a MAJOR investment in Clang/LLVM. They simply would not  
allow major across-the-board speed regressions to happen during the  
release of iOS or OSX. They're going to throw tons of time and money to  
make it destroy GCC and target any ARCH they have the slightest interest  
in. Clang has a very bright future, so don't be so discouraged.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wf3x32h134t2sn>