Future of memory management in D

Atila Neves atila.neves at gmail.com
Thu Nov 18 13:38:58 UTC 2021


On Wednesday, 17 November 2021 at 21:59:51 UTC, Ola Fosheim 
Grøstad wrote:
> On Wednesday, 17 November 2021 at 21:46:45 UTC, Atila Neves 
> wrote:
>> The GC isn't going anywhere. It's the easiest way to write 
>> memory-safe code other than leaking everything.
>
> What is the plan for destructors?
>
> Objects with destructors should not be allocated on the 
> GC-heap. Will this become a type error that is caught at 
> compile time?

No plans right now. Refresh my memory: what are the main issues?


More information about the Digitalmars-d mailing list