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

user1234 user1234 at 12.de
Tue Nov 24 03:01:21 UTC 2026


On Monday, 23 November 2026 at 05:55:49 UTC, monkyyy wrote:
> On Sunday, 22 November 2026 at 23:05:44 UTC, David Given wrote:
>> 
>>> Once a program gets large enough, .di files are needed 
>>> (analogously to the need for .h files in C).
>>
>> Yes, exactly; hence my question.
>
> "once a project gets big enough it becomes reasonable to ask 8 
> women to have 1 baby in 8 months". No the natural conclusion of 
> how they are solving that problem is to expect medical 
> malpractice.
>
> .di files will never fix an oversized project, the people 
> advocating for them have 45 minute compile times; given that d 
> is a usually quite fast, the people with such large projects 
> are anti-knowledge on how to structure a project for good 
> compile time.
>
> D uses C linkers, C linkers can not support templates, D has a 
> pile of bandaids to pretend otherwise; you should not use 
> bandaids as foundation.

Common, stop the bollocks. linkers have to deal with object 
files. It turns out that   it's quite convieniant to use a symbol 
table, so template applications are mangled.


More information about the Digitalmars-d mailing list