Re:The eero programming language - a dialect of Objective-C
by stcredzero on Saturday July 07, 2012 @01:37PM
(#4212209)
I am wondering when someone will implement a good Ulterior Reference Count or an Age-Oriented GC for iOS/OS X.
These are both hybrids of GC and reference counting that combine the strengths of both.
Basically, new objects tend to die quickly, so the overhead of reference counting is generally redundant, and GC techniques like copying collectors tend to excel. Old objects tend to stick around, so reference counting overhead is low. By using a hybrid of both techniques where they are strong, you avoid a lot of overhead: pointless ref-count changing, and pointless scanning of object graphs. The result is something with the high throughput of generational GC with only a fraction of the maximum pause time.
These are both hybrids of GC and reference counting that combine the strengths of both.
Basically, new objects tend to die quickly, so the overhead of reference counting is generally redundant, and GC techniques like copying collectors tend to excel. Old objects tend to stick around, so reference counting overhead is low. By using a hybrid of both techniques where they are strong, you avoid a lot of overhead: pointless ref-count changing, and pointless scanning of object graphs. The result is something with the high throughput of generational GC with only a fraction of the maximum pause time.
https://researchers.anu.edu.au/publications/29505
http://www.cs.technion.ac.il/~erez/Papers/ao-cc.pdf