[swift-dev] Performance issues in automatic reference counting (ARC)?

Brian Gesiak modocache at gmail.com
Sat Dec 17 13:13:55 CST 2016


Hello all!

I really enjoyed Chris Lattner's slides from his talk at IBM <
http://researcher.watson.ibm.com/researcher/files/us-lmandel/lattner.pdf>.

The speaker notes mention ARC:

"There are two principle downsides to ARC that people cite: one is the need
for atomic increment/decrements, which can be slow." [...] "The performance
problems it can cause are real in some important cases"

Can someone point me to a good resource that explains these problems? I
guess atomic reference count changes create overhead in multithreaded
applications? Are there more detailed explorations into this topic?

Thanks!

- Brian Gesiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20161217/0dddf09e/attachment.html>


More information about the swift-dev mailing list