Re:Garbage Collection is Wrong
by mikeash on Thursday February 27, 2014 @09:13PM
(#7316843)
Oops, wasn't you, but the OP I was responding to initially.
shared_ptr works fine for my example. Shared immutable state is a case where reference counting works extremely well, since immutability implies no cycles.
shared_ptr works fine for my example. Shared immutable state is a case where reference counting works extremely well, since immutability implies no cycles.