DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

Tobias Pankrath tobias at pankrath.net
Tue Nov 12 17:54:53 UTC 2019


On Monday, 11 November 2019 at 10:27:26 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community 
> Review for DIP 1025, "Dynamic Arrays Only Shrink, Never Grow":
>
> >https://github.com/dlang/DIPs/blob/1b525ec4c914c06bc286c1a6dc93bf1533ee56e4/DIPs/DIP1025.md

I am against it.

1. One of D's main selling points to me is productivity. We 
currently do not have the machinery in place to be as productive 
without the GC as with it. For example std.allocator is still 
experimental and there seems to be no movement on that front.

First put the alternatives in place in the meantime there is 
@nogc.

2. @nogc

3. If we remove arrays the language has no useful 
builtin/included container anymore. std.container is no 
alternative, e.g.: https://issues.dlang.org/show_bug.cgi?id=13791





More information about the Digitalmars-d mailing list