Status of std.container rewrite?

Atwork fwafwa at fwfafa.com
Mon Jun 8 08:48:47 UTC 2020


On Sunday, 7 June 2020 at 22:00:32 UTC, aberba wrote:
> On Sunday, 7 June 2020 at 19:49:48 UTC, Seb wrote:
>> On Sunday, 7 June 2020 at 18:39:22 UTC, Rahul Gupta wrote:
>>> Hello,
>>>
>>> (Sorry, if i posted to wrong forum)
>>>
>>> I am new to D, just started learning a few days back. I have 
>>> been writing small programs to learn D, some of which require 
>>> use of containers.
>>>
>>> Looking at std.containers I see that it is very barebones and 
>>> generally requires a lot of efforts to use. Googling around 
>>> brings me to stuff posted around 2015-16 that says that 
>>> std.container is pending a rewrite. However it is 2020 now 
>>> and std.container has still not improved.
>>>
>>> Has any progress made towards the rewrite? Is it at design 
>>> stage or being developed or has it been forgotten? Is there 
>>> any timeline for the std.containers rewrite?
>>
>> The latest effort was 
>> https://github.com/dlang/druntime/pull/2760, but it stalled as 
>> no consensus was reached on how the reference-counting should 
>> be done.
>
>
> The technically of the community is both a blessing and a 
> curse. Part of why most things never end up in upstream. 
> std_data_json, dxml, ...?? A perfect solution that never comes.
>
> Dub was bashed so many times now its what we~ all use.
>
> Something is definitely broken in decision making around tools 
> and ecosystem improvement.

That's because nothing that "perfectly aligns" with the vision of 
Walter/Andrei (Is he relevant anymore to phobos?) will not be 
accepted into the language.

Which makes a lot of great efforts lost.


More information about the Digitalmars-d mailing list