Make DMD emit C++ .h files same as .di files

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Mon Feb 25 18:07:30 UTC 2019


On 2/25/19 5:20 AM, Jacob Carlborg wrote:
> On 2019-02-25 02:04, Manu wrote:
> 
>> Why wouldn't you do it in the same pass as the .di output?
> 
> * Separation of concerns
> * Simplifying the compiler ("simplifying" is not the correct 
> description, rather avoid making the compiler more complex)

Indeed so. There's also the network effect of tooling. Integrating 
within the compiler would be like the proverbial "giving someone a 
fish", whereas framing it as a tool that can be the first inspiring many 
others is akin to "teaching fishing".


More information about the Digitalmars-d mailing list