Future of memory management in D

Atila Neves atila.neves at gmail.com
Wed Nov 17 21:46:45 UTC 2021


On Tuesday, 16 November 2021 at 18:17:29 UTC, Rumbu wrote:
> At least from my point of view, it seems that recently D made a 
> shift from a general purpose language to a C successor,

I mean, it kind of always was, which is even indicated in the 
name.

> hence the last efforts to improve betterC and C interop, 
> neglecting other areas of the language.
>
> By other areas I mean half baked language built-ins or oop 
> support which failed to evolve at least to keep the pace with 
> the  languages from where D took inspiration initially (e.g. 
> Java and its successors).

Where would you say D has failed to evolve in terms of OOP?

> Now, without a gc, more than half of the language risks to 
> become unusable and that's why I ask myself how do you see the 
> future of the memory management in D?

The GC isn't going anywhere. It's the easiest way to write 
memory-safe code other than leaking everything.


More information about the Digitalmars-d mailing list