Hacker News new | ask | show | jobs
by pjmlp 3278 days ago
> There is also a quasi-non-performance aspect to ARC that is often overlooked: deterministic deallocation.

Assuming there are no pauses due to deletion of deeply nested data structures, or worse, stack overflows.

Herb Sutter has a very interesting presentation at CppCon 2016 about these issues, where he then presents a kind of C++ library based GC to work around them.

Also ARC has performance impact, because increment/decrements need to be synchronized due to threaded code.