Hacker News new | ask | show | jobs
by pjmlp 3343 days ago
People think RC as GC algorithm is simpler, but it isn't.

Naive implementations are slower than tracing GC, while high performance ones are as complex as tracing GC ones, while having the burden of forcing the developers to explicitly deal with cycles.

1 comments

high performance ones are as complex as tracing GC ones, while having the burden of forcing the developers to explicitly deal with cycles.

I bet there are plenty of game developers who would be only too glad to arrange their references as a DAG, if they could have guaranteed low latency.

Maybe, but if they don't take care, some stack overflow surprises might happen, the fun of cascade deletions.