[phobos] std.all

Robert Clipsham robert at octarineparrot.com
Tue Jun 8 13:39:19 PDT 2010


On 08/06/10 21:18, Walter Bright wrote:
>
>
> Andrei Alexandrescu wrote:
>> Actually I've generated std.all myself and experimented with it
>> (attached). The parse time with rdmd is larger than with individual
>> modules, but not annoying.
>>
>>
>
> The parse time will invariably grow as phobos grows. I expect std.all
> will become the preferred method of using D. The problems are:
>
> 1. People will come to expect std.all to have everything and the kitchen
> sink in it, so we're stuck.
>
> 2. People will inevitably do compile speed benchmarks with std.all. And
> then we'll suck.
>
> So I say "no" to std.all.

Given that it's meant as an easy way to include the commonly used 
functions etc, rather than all, how about a std.common along side it? 
Where std.common imports commonly used code by scripts etc, and std.all 
imports anything that isn't std.common? This way it's the best of both 
worlds.



More information about the phobos mailing list