Program size, linking matter, and static this()

torhu no at spam.invalid
Fri Dec 16 15:52:30 PST 2011


On 17.12.2011 00:34, Sean Kelly wrote:
> On Dec 16, 2011, at 3:16 PM, Andrei Alexandrescu wrote:
>
>>  On 12/16/11 5:08 PM, Sean Kelly wrote:
>>>  On Dec 16, 2011, at 1:38 PM, Trass3r wrote:
>>>
>>>>  A related issue is phobos being an intermodule dependency monster.
>>>>  A simple hello world pulls in almost 30 modules!
>>>
>>>  This was one of the major motivations for separating druntime from
>>>  phobos.  The last thing anyone wants is for something in runtime to
>>>  print to the console and end up pulling in 80% of the standard
>>>  library as a result.
>>
>>  Well, right now druntime itself may have become the interdependency knot it once wanted to shun :o).
>
> The first place to look would be rt/.  I know there's some tool that generates dependency graphs for D.  Does Descent do that?

Maybe this is the tool you're thinking of:

http://www.shfls.org/w/d/dimple/


More information about the Digitalmars-d mailing list