logoalt Hacker News

antilopertoday at 7:46 AM2 repliesview on HN

I don't believe it.

Reference counting is a virtual function call + an integer operation. It doesn't happen that often either because objects in UI frameworks are very long lived. C++'s shared_ptr, Rust's Rc, and Swift, don't typically cause performance problems either.


Replies

nxobjecttoday at 8:18 AM

For that matter, AppKit was first released on a NeXT with a 25 MHz 68030 and 8MB of RAM.

pjmlptoday at 8:04 AM

Of course they cause problems as well, you not believing it doesn't change profiler facts.

I can also easily point you on CppCon, C++Now and WWDC talks, where presenters spend valuable time of their lifes speaking about matters you don't believe.

show 1 reply