What's the current state of the art for module compilation?

Kapendev alexandroskapretsos at gmail.com
Thu Nov 19 17:18:33 UTC 2026


On Tuesday, 17 November 2026 at 23:55:16 UTC, David Given wrote:
> The last time I looked at D, its support for doing separate 
> module compilation was a bit lacking. Is this still the case?
>
> Last time I asked about this, the recommendation was not to do 
> separate compilation and just compile the whole program each 
> time --- but this isn't a scaleable solution.
>
> Is this still an issue?

You can probably use a build system to get what you want.
Before you go use one tho, I recommend thinking about if you 
really need one in the first place. Slow build times are 
sometimes a sign of bad engineering. The most common mistake I 
see is people spamming generics all over your code (in any lang 
that supports them).


More information about the Digitalmars-d mailing list