dud: A dub replacement

Adam D. Ruppe destructionator at gmail.com
Thu Nov 28 14:06:39 UTC 2019


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?

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.


More information about the Digitalmars-d-announce mailing list