OT: on IDEs and code writing on steroids

Denis Koroskin 2korden at gmail.com
Wed May 20 02:21:38 PDT 2009


On Wed, 20 May 2009 13:09:37 +0400, Kagamin <spam at here.lot> wrote:

> BCS Wrote:
>
>> smaller object code? OTOH a good implementation will noice when I can  
>> fold
>> together several template expansions
>
> That's the difference. You can't fold templates because they're binary  
> incompatible as opposite to generics.

You can fold /some/ templates. I believe LLVM already does merging of identical functions (including templates, virtual functions etc) as a part of optimization process. Not sure about LDC, though.



More information about the Digitalmars-d mailing list