4 ms·
>Reference counting is garbage collection. Sorry you're right, I meant tracing garbage collection. >Same UI issues can happen in reference counting with deepl
by Rury 7y ago
>Reference counting is garbage collection.
Sorry you're right, I meant tracing garbage collection.
>Same UI issues can happen in reference counting with deeply nested data structures.
Only if done poorly. The difference is this is deterministic and therefore an issue you can control and avoid with ARC (albeit at a cost to overall performance). The point was that ARC doesn't have the potential for a uncontrollable random process kicking in, stopping your app and causing UI stutter as it cleans up memory, whereas tracing GC does.
A good comparison: http://developer-toolbox.blogspot.com/2017/12/garbage-collection-vs-automatic.html http://developer-toolbox.blogspot.com/2017/12/garbage-collec...
- pjmlp 7y agoThis one is more up to date, https://github.com/ixy-languages/ixy-languages https://github.com/ixy-languages/ixy-languages