Future of memory management in D

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Nov 17 21:59:51 UTC 2021


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?




More information about the Digitalmars-d mailing list