News for hackers. Stuff that matters.
Re:Carp – A statically typed Lisp, without a GC, for real-ti... by naasking on Friday October 15, 2021 @12:14PM (#28879401)
> 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.

Re:Carp – A statically typed Lisp, without a GC, for real-ti... by kragen on Friday October 15, 2021 @12:17PM (#28879443)
Aye.