The GC, destructors, exceptions and memory corruption

dsimcha dsimcha at yahoo.com
Fri May 13 07:01:56 PDT 2011


== Quote from Don (nospam at nospam.com)'s article
> Yeah. It's pretty hard to come up with a use case for a finalizer.

This is why I'm so interested in improving D's GC yet have shown so little
interest in this bug.  I can't even figure out what finalizers are for and
basically never use them.  Even in the cases where I have used them before to get
around false pointer issues, I now realize that such uses were actually latent
race conditions.


More information about the Digitalmars-d mailing list