On Wednesday, 12 June 2013 at 14:41:05 UTC, finalpatch wrote:
This feels even more cumbersome than in C++ because in C++ we can simplydelete this in the Release() method, there's no need to store a reference in a global place.
Juno does this by allocating the object on the non-gc heap, adding it as a GC root, and then deleting it when the refcount reaches 0. It works ok, though I think the current implementation has some issues.
