Phobos version naming

harakim harakim at gmail.com
Wed Nov 3 18:11:28 UTC 2021


On Wednesday, 3 November 2021 at 16:46:39 UTC, Imperatorn wrote:
> On Wednesday, 3 November 2021 at 15:37:05 UTC, Andrei 
> Alexandrescu wrote:
>> I'd like to devise a robust version naming for Phobos. What is 
>> the best way?
>>
>> Currently it's std.v2 but I'm unclear how it goes from there. 
>> By semver we'd go with std.v2_0_1 and so on.
>>
>> Walter and others say it's better to have "std2" at top level 
>> instead of "std.v2" nested inside std. I confess I chose 
>> "std.v2" partially because it's easier to implement. But we 
>> can go either way. What would be best?
>
> I would vote for having it at the same level. Regarding 
> versions, how do other languages do it?

The more I look into this, I think they just create a new 
incompatible version, like Python2 and Python3.


More information about the Digitalmars-d mailing list