The great compromise of the D standard library

Lars Ivar Igesund larsivar at igesund.net
Thu Oct 18 00:29:38 PDT 2007


Ender KaShae wrote:

> I have great misgivings over the divide among the D community between
> standard libriraries.  The contintion will no doubt eventually lead to a 
> schism reduce the reusibility of D code.  I suggest the following
> compromise:
> 
> 1.) Phobos and Tango are combined into a single Standard library, as
> Phobos seems to be lower level, it would make sense for Tango to call
> Phobos functions and for alias's to be made between equivilent entities
> that exist in both libraries

As have been said before, this won't happen. This will degrade Tango's
performance. It does not make sense at all.

> 3.) Walter will remain the final say on what contributions are added to
> the library

This is how Phobos has worked, and is a main reasons for criticism against
how Phobos has been controlled. This is a proven dead end.

> I believe this compromise will address most of the issues though it would
> have to be agreed upon by both factions.  This has the additional
> advantage have creating a library with both low level procedural and
> higher level object-oriented parts.  This hybridization is one of the
> things that attracted me most to D in the first place.

Note that the user API (std.* and tango.*) isn't really an issue at hand
here, at least not now, the runtime (GC, Thread, Object) is.

> as an aside I believe there should be a more standardized way to suggest
> changes to the D language

FWIW, I agree with you on this point :)

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list