DIP11: Automatic downloading of libraries

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jun 14 10:04:14 PDT 2011


On 6/14/11 11:51 AM, Adam D. Ruppe wrote:
> Andrei Alexandrescu wrote:
>> A tool could repeatedly run
>> the compiler with -v and see what modules it couldn't load, to
>> then download them.
>
> This is what my build.d does.<http://arsdnet.net/dcode/build.d>
>
>
> There's a problem though: it's pretty slow. You always run the
> compiler at least twice with this setup with any libs - once to
> get the dependencies and build the compile line, once to actually
> compile.
>
> If there's nested dependencies, it just gets worse.
>
>
> Build into the compiler, and the speed ought to be improvable by
> several times.

This is a very compelling data point. I added a mention of it to the 
proposal. See "Alternatives" at the end.

http://www.wikiservice.at/d/wiki.cgi?LanguageDevel/DIPs/DIP11

Andrei


More information about the Digitalmars-d mailing list