More radical ideas about gc and reference counting

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri May 2 18:11:31 PDT 2014


On Friday, 2 May 2014 at 20:59:46 UTC, monarch_dodra wrote:
> Yeah, you have to read the "fine print": "collection implies 
> destruction" *but* "no guarantees the collection will actually 
> ever happen".

That sound like the right balance.

Also, make construction of object with destructor @system as 
there is no way to ensure destructor won't resurrect the object 
or do some goofy thing with finalized reference it has.


More information about the Digitalmars-d mailing list