Building C++ modules

Ethan gooberman at gmail.com
Fri Aug 9 13:42:27 UTC 2019


On Friday, 9 August 2019 at 13:17:02 UTC, Atila Neves wrote:
> .di files are usually auto-generated, not needed, and AFAIK not 
> that used.

They're needed. At least, the idea of them is needed.

Right now, it's just a glorified implementation stripper. Gets 
rid of everything between {} that aren't aggregate/enum 
definitions, and leaves the slow and expensive mixins there to be 
recompiled every. single. time. they're. imported.

.di files need to be redefined to represent a module after mixins 
have resolved.


More information about the Digitalmars-d mailing list