News for hackers. Stuff that matters.
Re:Is reference counting slower than GC? by gpderetta on Tuesday May 24, 2016 @07:21AM (#11760571)
I guess that the reason that existing systems do not use advanced refcount modes is that they simply that either they are not meant for high performance (e.g. python, perl) or just don't do much refcount traffic (i.e. only long lived objects are refcounted and new references are not created often).

Re alloc and free, I meant that you do not need to use the system malloc and free, you can be allocating and deallocating from a simple thread local bump allocator plus free list.

At the limit you can have a fully generational GC behind and use the rerfcount only to decide when to run destructors or as an optimization.

There are no comments on this comment yet.