Our template emission strategy is broken

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 11 10:06:21 PST 2015

On Wednesday, 11 November 2015 at 13:56:51 UTC, Martin Nowak 
> On Wednesday, 11 November 2015 at 13:47:27 UTC, Johannes Pfau 
> wrote:
>> I think we should really fix these issues, working separate 
>> compilation is very important.
> No, it's not. Separate compilation is C++-ishly slow by design 
> (b/c all dependencies get imported over and over again, just 
> like headers).
> We should endorse compiling small (rather independent) packages 
> to static/shared libraries.

This would be great if cross-module inlining actually worked. 
pragma(inline,true) doesn't even work across modules afaik

More information about the Digitalmars-d mailing list