std.container: fork in the road

Wyatt via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 17 10:44:33 PDT 2015


On Wednesday, 17 June 2015 at 16:21:18 UTC, ixid wrote:
> On Wednesday, 17 June 2015 at 15:57:38 UTC, Wyatt wrote:
>> But "sanity" and "API versioning" may exist at opposite ends 
>> of a spectrum, if I recall my history.
>>
> What are the downsides?

Issues, off the top of my head: figuring out which is which in 
the first place,  separate compilation causing multiple modules 
to pull in different versions of the same symbols, run-time 
linking hell when external libraries are added to the mix, and 
library bloat when different projects depend on different 
versions.  I'm reasonably certain there are other things too.

It _might_ be possible to do sanely if this had all been worked 
out from the outset for D/D2, but I'm not at all confident that 
it's possible to retrofit (rather, I expect it isn't).

-Wyatt


More information about the Digitalmars-d mailing list