Building C++ modules

Atila Neves atila.neves at gmail.com
Mon Aug 12 09:35:44 UTC 2019


On Friday, 9 August 2019 at 13:42:27 UTC, Ethan wrote:
> 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.

Hmm, interesting! Is that you volunteering to work on that? :P


More information about the Digitalmars-d mailing list