Idea #1 on integrating RC with GC

Dicebot public at dicebot.lv
Wed Feb 5 07:10:50 PST 2014


On Tuesday, 4 February 2014 at 23:51:35 UTC, Andrei Alexandrescu 
wrote:
> ...
>
> Destroy.
>
> Andrei

I simply don't understand what problem this is trying to solve. I 
can't remember anyone wanting RC just of the sake of RC - it is 
just a compromise to enable language features that require 
allocation with undeterministic lifetime in absense of GC.

Only thing having RC on top of GC may help with is reducing 
overall memory footprint but it is not an issue anyway.

I must be missing something, but this looks perfectly useless.


More information about the Digitalmars-d mailing list