Re:Inside D's GC
by WalterBright on Tuesday June 20, 2017 @03:53PM
(#14597966)
Yes. I gave a presentation on this at DConf 2017.
But is it really possible to completely avoid the GC? I'm thinking of memory blocks with cyclic references, and stuff like that.
Yes, but the D community isn't structured enough to have such a specific goal. The main effort that I can think of is dip1008, which aims to add reference counted exceptions (Thus eliminating one of the few truly difficult things to get around, e.g. @nogc exceptions require user cooperation else memory gets leaked)
Is this really true?