Let Go, Standard Library From Community

Sean Kelly sean at f4.ca
Wed Apr 18 13:19:04 PDT 2007


Bill Baxter wrote:
> 
> I wonder if there might be some benefits to separating phobos and tango 
> both out into a core lib containing only the barest essentials required 
> to run D code (e.g. object and gc and not much else), and everything 
> else.  Seems like it would be helpful in your case, at least.  It would 
> seem somehow reassuring to me to be able to clearly see what's essential 
> and what's optional.  But in the end the linker should discard whatever 
> you don't use, so, from a practical standpoint, it's not so necessary.

Tango is already designed this way.  The compiler runtime and garbage 
collector are each separate libraries with no compile-time dependencies 
on one another or on any standard library code.  See:

http://www.dsource.org/projects/tango/wiki/TopicAdvancedConfiguration


Sean



More information about the Digitalmars-d mailing list