Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 2 16:07:48 UTC 2021


On 11/2/21 1:12 AM, Walter Bright wrote:
> On 11/1/2021 7:51 PM, Andrei Alexandrescu wrote:
>> On 10/30/21 9:59 PM, Andrei Alexandrescu wrote:
>>> https://github.com/dlang/phobos/pull/8309
>>>
>>> Destroy!
>>
>> Made a change to the PR - now the new package is called "std.v2alpha" 
>> so as to clarify the transition process:
>>
>> 1. Add std.v2alpha
>> 2. Add to std.v2alpha while continuing with the normal pace of releases
>> 3. When everyhing in v1 was ported to v2, rename v2alpha to v2 and 
>> release.
>>
>> That way we can implement complex versions without blocking the 
>> release process for a long time.
> 
> Or just `std2a`. It should not be a sub-package of std.

Correctamundo. It's up to us. Off the top of my hed there'd be a few 
practical issues with managing separate roots - makefile, build and 
test, and such. Package-level protection won't work across versions, 
which is a bummer - possibly a showstopper. But we can definitely look 
into it.


More information about the Digitalmars-d mailing list