Our template emission strategy is broken
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Wed Nov 11 07:05:00 PST 2015
On 11/11/15 9:14 AM, Daniel Kozak via Digitalmars-d wrote:
> V Wed, 11 Nov 2015 13:56:50 +0000
> Martin Nowak via Digitalmars-d <digitalmars-d at puremagic.com> napsáno:
>
>> 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 isn't a solution it's a workaround.
> It seems to me like "It's not a bug it's a feature"
Rust, Haskell, and Go have similar approaches if that helps. -- Andrei
More information about the Digitalmars-d
mailing list