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

Walter Bright newshound2 at digitalmars.com
Tue Nov 12 00:51:28 UTC 2019

On 11/11/2019 2:33 PM, Paolo Invernizzi wrote:
> On Monday, 11 November 2019 at 22:28:05 UTC, Walter Bright wrote:
>> We either get on the bus or get run over by the bus.
> Frankly speaking, I've read such argumentations a lot of times along many years 
> in the D history: the concurrency chapter of the D Programming Language is here 
> to testify that this type of argumentation should be avoided, in a technical 
> discussion.
> Let's move forward from that, and let's try to find a sound solution to the 
> memory safety problem, but without killing the language in the attempt.
> There's no hurry: D is _already_ a safe language, thanks to your intuition of 20 
> years ago to bake the GC.

D is quite a bit safer currently than C or C++, but we've been a bit complacent 
about that advantage and are at risk of falling behind.

I am replying to the question about what is the direction D is going. This is 
the direction and the motivation for it. Whether DIP 1025 is the correct move in 
that direction or not is certainly worthy of technical discussion.

BTW, after not having memory corruption bugs for years, I've lost days of work 
in the last couple months looking for the cause of two memory corruption 
problems in DMD. I had grown complacent.

More information about the Digitalmars-d mailing list