I don't get why people do not prefer reference counting, it has more predictable runtime performance(though of course a swap is a swap - but you can "trigger" it depending on your memory or file access pattern)
> more predictable runtime performanceNot really, reference counting can cause a single object deallocation to trigger an arbitrarily long chain of deallocations.
Immediate reclamation, yes. There do exist a number of reference-allocation algorithms that performs deferred reclamation similar to how tracing GC does.
raverbashing · · focus · HN ↗
(though of course a swap is a swap - but you can "trigger" it depending on your memory or file access pattern)
bheadmaster · · focus · HN ↗
Not really, reference counting can cause a single object deallocation to trigger an arbitrarily long chain of deallocations.
Findecanor · · focus · HN ↗
amelius · · focus · HN ↗