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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Tue Nov 2 20:24:21 UTC 2021


On 2021-11-02 13:03, Robert burner Schadek wrote:
> On Tuesday, 2 November 2021 at 16:11:08 UTC, Andrei Alexandrescu wrote:
>>> Destroyed!
>>
>> I agree with most of your points and definitely love the enthusiasm. 
>> But it seems to me you are looking at a one-off revolution and what we 
>> must define is a reproducible process. One does not exclude the other.
> 
> Not it all, std2 sounds to me like std.experimental just with a 
> different name.

Must have been a miscommunication on my part. The two couldn't be more 
different.

std.experimental:

- NEW, as-of-yet unproven stuff
- Everything can change without notice
- Intent is to be moved to std when ready, where it ADDS functionality
- No changes that break std

std.v2:

- Fundamentally makes all existing functionality in std available
- Breaking API changes are possible, designed, and announced
- Additions are also possible, designed, and announced, but not 
quintessential (e.g. v2 with no autodecoding and improvements to safe, 
nogc, and nothrow would be a solid release)
- Intent is to coexist with std forever, with an eye toward deprecating 
the previous versions

I'd say any parallel between std.v2 and std.experimental is tragically 
misguided.


More information about the Digitalmars-d mailing list