Status of std.container rewrite?

mw mingwu at gmail.com
Sun Jun 7 21:07:14 UTC 2020


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.


D has never failed to amaze me everyday.

Suppose we are a company: our customers knock on our door want to 
do some business with us. Since the product is a new (? 20 years) 
language, the customers naturally want we provide std libraries 
with the language. But our message to our customers is: sorry, 
the library PR is 10 months old, and with unknown date it could 
be merged, if at all.

I’m just wondering if the customers will just leave us and knock 
the next door :-( (and there are a number of competitors as 
replacement of C++ on the market)

Sigh, this is our reality in terms of expanding D’s adoption.

Can we put stabilizing the compiler & libraries as our top 
priority? or at least improve our PR with better messages to our 
potential language users?





More information about the Digitalmars-d mailing list