GC for noobs

Mike Parker aldacron at gmail.com
Thu Feb 27 05:11:31 PST 2014


On 2/27/2014 10:00 PM, Szymon Gatner wrote:

>
> Still, this feels like working around a language issue, if c-tor order
> is defined why d-tor isn't? I am ok with non-deterministic time of
> execution of d-tors/finalizers but not-having parent-child d-tor order
> defined? That is weird.
>

I've never seen a garbage collected language where the GC guarantees 
order of destruction. There's probably a very good reason for it.



More information about the Digitalmars-d-learn mailing list