dud: A dub replacement

Atila Neves atila.neves at gmail.com
Fri Nov 29 13:29:33 UTC 2019


On Thursday, 28 November 2019 at 14:06:39 UTC, Adam D. Ruppe 
wrote:
> On Thursday, 28 November 2019 at 13:10:44 UTC, Atila Neves 
> wrote:
>> This is the done already by reggae. Unfortunately, since every 
>> D module is effectively a header, the number of files that 
>> need to be recompiled is usually large, despite the fact that 
>> for most changes the recompilation isn't actually necessary.
>
> Do you think it might work if it did dmd -H and make the 
> auto-generated .di file and then did a content-based change 
> detection on them for recompiling dependencies?

Probably. In fact, I had a plan to do exactly that and measure to 
see what the difference was. I just haven't gotten around to 
doing it yet.

> It'd prolly still do more work than it has to, but seeing .d 
> changed, rebuild .di, if .di changed, rebuild other stuff might 
> just avoid full rebuilds upon just simple function body changes.

That was my idea as well.




More information about the Digitalmars-d-announce mailing list