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

bauss jj_1337 at live.dk
Fri Nov 5 06:47:53 UTC 2021


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.


More information about the Digitalmars-d mailing list