Top 5

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 9 07:30:06 PDT 2008


Jarrett Billingsley wrote:
> On Thu, Oct 9, 2008 at 10:12 AM, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>>> Actually a smart linker would do that anyway. The only reason we need
>>> manifest constants is because OPTLINK isn't smart enough.
>>> (And DMD isn't smart enough to discard unreachable variables from the
>>> symbol table).
>> Exactly so.
> 
> So.. the solution to a toolchain problem is to add a feature into the language?
> 
> Exported templates in C++?  The 'register' keyword?  Isn't this the
> kind of stuff we want to avoid?

I hear you. It was not a lightly taken decision.

Andrei



More information about the Digitalmars-d mailing list