Idea #1 on integrating RC with GC
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Feb 4 23:45:26 PST 2014
On 2/4/14, 11:38 PM, Kagamin wrote:
> My understanding was that ARC completely replaces GC and everything
> including slices becomes refcounted. Is having mixed incompatible GC and
> ARC code and trying to get them interoperate a good idea? Can you sell
> such mixed code to ARC guys?
In an RC system you must collect cycles. ARC leaves that to the
programmer in the form of weak pointers. This particular idea automates
that.
Andrei
More information about the Digitalmars-d
mailing list