|
|
|
|
|
by normaljoe
2031 days ago
|
|
RC vs GC really depends on workload/memory and the volatility of the allocate to deallocate timeframe. I think the better argument here is that iOS and MacOS use RC in the underlying objc libs. Having a CPU that works better around that makes sense to increase performance for those particular OSes. |
|
As far as perf the general argument is that dropping the need for refcounting saves time, and that removal also helps caching due to reduced per-object size.
That said I’m not sure if those comparisons are comparing to generational or moving collectors (which are the low latency collectors) because those start needing write barriers.