Honey, I shrunk the build times

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 7 01:12:10 PDT 2015


On Sunday, 7 June 2015 at 05:25:21 UTC, ketmar wrote:
> On Sat, 06 Jun 2015 22:08:47 -0700, Andrei Alexandrescu wrote:
>
>> On 6/6/15 10:00 PM, Rikki Cattermole wrote:
>>> On 7/06/2015 4:55 p.m., ketmar wrote:
>>>> On Sat, 06 Jun 2015 21:30:02 -0700, Andrei Alexandrescu 
>>>> wrote:
>>>>
>>>> so in the end, after endless talking how separate 
>>>> compilation sux and
>>>> everyone should do one-step combined compilation, separate 
>>>> compilation
>>>> wins. it's funny how i'm always right in the end.
>>>
>>> Nobody is always right.
>>> But your way of thinking can be attractive if you like being 
>>> evil.
>>>
>>> I'm evil :)
>> 
>> There might be a bit of misunderstanding on what that change 
>> does. --
>> Andrei
>
> it utilizes "partial separate compilation" to earn speed using 
> parallel
> builds. the thing alot of people talking of before: separate 
> compilation
> can use multicores with ease, while one-step-all compilation 
> can't
> without significant changes in compiler internals.

you'd think with dmd's module system achieving compiler-level 
parallelism wouldn't be so difficult.

I guess it stems from dmd being before the free lunch ended.


More information about the Digitalmars-d mailing list