Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.com
Fri Nov 5 13:28:37 UTC 2021
On 2021-11-05 2:47, bauss wrote:
> On Friday, 5 November 2021 at 03:12:39 UTC, deadalnix wrote:
>> On Sunday, 31 October 2021 at 01:59:38 UTC, Andrei Alexandrescu wrote:
>>> https://github.com/dlang/phobos/pull/8309
>>>
>>> Destroy!
>>
>> I'm highly skeptical of making phobos 2 at this time. Maybe I'm wrong,
>> but we discussed it not so long ago, and I tried to work on
>> collections for it.
>>
>> Problem is: it is not possible, as far as I can tell, to write a high
>> quality collection library in D right now.
>>
>> Because this is such a basic building block, I really question what
>> phobos 2 can really achieve. The root cause of the mess that is phobos
>> is that it is built on shaky grounds, and phobos 2 will be built on
>> the same ground.
>
> Tbh. the best solution would be ditching Phobos for an entirely new
> standard library. Like writing it from scratch and when it's stable
> enough then provide a way of transitioning existing code to the new
> standard library.
The same issues will apply to that new standard library. We thought we
knew all mistakes of D1 and Phobos1, too.
More information about the Digitalmars-d
mailing list