[Dlang-study] [lifetime] Few root decisions to take on RC classes
Andrei Alexandrescu
andrei at erdani.com
Sun Nov 1 11:46:09 PST 2015
On 11/01/2015 02:37 PM, deadal nix wrote:
> That doesn't follow. C++ doesn't have a GC to pick up the cycles, not it
> bakes RC into the language (and in fact, it is not that uncommon to see
> C++'s project rolling their own RC mechanism).
Java also has weak references since 1.2; also, we want to support folks
who want to do memory management without relying on a garbage collector.
-- Andrei
More information about the Dlang-study
mailing list