More radical ideas about gc and reference counting

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 30 13:57:23 PDT 2014


On Wednesday, 30 April 2014 at 20:45:57 UTC, Andrei Alexandrescu 
wrote:
>> An extreme one indeed, it would break a lot of my code. Every 
>> D project
>> I wrote that does networking manages memory using a class that 
>> resides
>> on the managed heap, but holds the actual wrapped data in the 
>> unmanaged
>> heap.
>
> So should I take it those classes all have destructors? --

One class, many instances (one for every chunk of data sent or 
received).


More information about the Digitalmars-d mailing list