On Fri, 13 May 2011 17:01:56 +0300, dsimcha <[email protected]> wrote:
== Quote from Don ([email protected])'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.
In my case, it was mainly because D1 has no struct destructors.
--
Best regards,
Vladimir mailto:[email protected]