Make dub part of the standard dmd distribution

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 1 12:16:30 PDT 2015


On 06/01/2015 01:36 PM, Nick Sabalausky wrote:
>
> There is one part of that old proposal that I have come to like though,
> and wouldn't mind seeing: There was an idea to have DMD automatically
> invoke an external tool
>

Oops, forgot to finish writing that thought...

As part of that old proposal, there was an idea to have DMD, when 
importing a module it couldn't find, automatically invoke an external 
tool which would tell DMD where to find the module. That way, a tool 
like RDMD would NOT need to invoke DMD twice (once to find the 
dependencies, and again to actually compile the dependencies).

I've sort of come around more to that particular idea (not the entire 
proposal though), although actually using it would likely increase 
compile times on windows (notoriously slow at launching processes, just 
look at dustmite on win), and frankly it'd probably be better just to 
incorporate rdmd's dependency searching as an optional feature of dmd.



More information about the Digitalmars-d mailing list