l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++


From: Jonathan S. Shapiro
Subject: Re: C++
Date: Mon, 9 Nov 2009 09:19:47 -0800

On Mon, Nov 9, 2009 at 8:32 AM, Sam Mason <address@hidden> wrote:
> Fun!  Link times would be even more of a problem then, Google's linker
> "gold" was about helping with this a bit (five times?) but if you move
> optimization into the linker this is going to get much slower again.

Not really. Optimization takes what it takes. The question is whether
you do it badly, one file at a time, or globally, one binary at a
time. What gets longer if certain optimizations are turned on is the
compile/edit/debug cycle.

But what's interesting is that there is a middle position where most
of the heavy lifting is done by the front end, and the optimizations
performed in the linker are (from a time perspective) relatively
modest.

So from a developer perspective this may be more of a "tuning knob"
problem than anything else.


shap




reply via email to

[Prev in Thread] Current Thread [Next in Thread]