News for hackers. Stuff that matters.
Re:Why use garbage collection by zandorg on Friday January 23, 2009 @12:58AM (#446039)
It's a bit hard to explain, but it's a copy constructor. Not sure of all the details right now, but I think when it is passes to another function (as a parameter), the reference count goes up, and when it returns (destructor), it goes down. I don't think it can be circular, as it uses types, not pointers. The basic idea is the data stays in the same place in memory.

There are no comments on this comment yet.