Hacker News new | past | comments | ask | show | jobs | submit login

> Reference counting is usually very expensive, because even reading a variable updates the reference count

There are many papers out there on how to elide most ref count operations on locals, and runtimes that use ref counting for automatic memory management typically defer ref count updates in various clever ways (like Nim IIRC). You give up some latency for significant throughput gains.




Aye.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: