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

deadalnix deadalnix at gmail.com
Fri Nov 5 13:45:11 UTC 2021


On Friday, 5 November 2021 at 09:43:21 UTC, Dukc 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.
>
> That is an orthogonal problem. If we agreed to merge some 
> collections library to Phobos, it could be done to Phobos 1 
> just as well. We don't need Phobos 2 for that.
>

No it is not.

The reason for which phobos v1 does not have a good set of 
collection have not changed, and therefore phobos v2 will not 
have a good set of collections.

Range have the exact same problem.



More information about the Digitalmars-d mailing list