On the D Blog--Symphony of Destruction: Structs, Classes, and the GC

Per Nordlöw per.nordlow at gmail.com
Thu Mar 18 09:21:27 UTC 2021


On Thursday, 4 March 2021 at 13:54:48 UTC, Mike Parker wrote:
> The blog:
> https://dlang.org/blog/2021/03/04/symphony-of-destruction-structs-classes-and-the-gc-part-one/

Btw, what is the motive behind D's GC not being able to correctly 
handle GC allocations in  class destructors.

Is it by design or because of limitations in D's current GC 
implementation?

And how does this relate to exception-throwing destructors in 
other managed languages such as C# and Go; are they forbidden or 
allowed and safe thanks to a more resilient GC?


More information about the Digitalmars-d-announce mailing list