by duaneb · 13y ago · 0 comments
EDIT: Looks like it, great! :D (Also: it was the block changes, not GC changes).
Correction: RubyMotion uses an ARC-like method to manage memory.
That said, duly noted, and I'll make sure to refer to it as reference counting in the future.
That's a very.... narrow definition, to say the least. I've never seen this outside of the objective-c world. In my mind, garbage collection is automatic memory management, of which objective-c provides an arguably better solution than imprecise collectors. To distinguish between them at all strikes me as pedantic and counterproductive.
Anyway, the only real difference between python and objective-c is that yes, python has a garbage collection routine that bulk frees objects with refcounts of 0... functionality conveniently provided by @autorelease. This would make ARC a superset of python's GC.
I was also thinking "garbage collector" not "garbage collection". :P