Transitioning std lib modules/packages

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 28 06:59:28 PST 2016


On 11/28/16 9:09 AM, Ilya Yaroshenko wrote:
> Compiler version should be split from a library versions. --Ilya

On 11/28/16 9:26 AM, Ilya Yaroshenko wrote:
> I propose Phobos to be an a packed by default collection of libraries
> with clear dependencies and community support. A package version should
> be overridable in dub configuration. This is what we need to involve
> companies to invest their efforts in dlang infrastructure. --Ilya

This is interesting stuff but I don't know of any precedent, so we'd be 
taking risks trying this. All language platforms I know of ship with one 
compiler tied to one fixed standard library implementation. (Then, third 
party libraries come on top of that.) The obvious issue with not doing 
that is dealing with maintaining a fuzzy combinatorial number of setups 
instead of one. The risks may, of course, be justified if this turns out 
to be a nice innovation but definitely the tradeoffs must be analyzed 
properly.

Martin, what do you think of this?


Andrei



More information about the Digitalmars-d mailing list