More radical ideas about gc and reference counting

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Fri May 2 00:13:33 PDT 2014


On Friday, 2 May 2014 at 00:45:42 UTC, Andrei Alexandrescu wrote:
> Here's where the point derails. A struct may be preexisting; 
> the decision to define a destructor for it and the decision to 
> use polymorphism for an object that needs that structure are 
> most of the time distinct.
>
> Andrei

Sheep eat grass.
Boat float on water.

These are completely distinct. Therefore, there won't be any 
issue if we ditch all the grass in the sea from that boat the 
carry sheeps around.


More information about the Digitalmars-d mailing list