Creation of a Build tool on top of the D compiler
Sean Kelly
sean at f4.ca
Sat Jan 27 09:22:20 PST 2007
Andrey Khropov wrote:
> kris wrote:
>
>> Especially when you
>> can't successfully utilize certain types of D code from a library -- such as
>> templates.
>
> I strongly believe that compiler *should* be able to compile templates to a
> some intermediate form and put it into libraries. Otherwise you will be forced
> to create d 'header' files for your template-enabled libraries or even use them
> as source code only.
C++ tried this with "export" and it's been a bit of a fiasco. Last I
heard, EDG had it implemented (they were the only compiler team to have
done so), and the benefit didn't seem all that great.
Sean
More information about the Digitalmars-d
mailing list