HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kcl

no profile record

Submissions

Reference count, don't garbage collect

kevinlawler.com
189 points·by kcl·4 jaar geleden·406 comments

comments

kcl
·4 jaar geleden·discuss
GC researchers insist on conflating GC with all of automatic memory management. The public doesn't do this and neither does the article.

> Secondly, you know what's cheaper... Not doing anything at all.

These techniques are on the level of resetting a stack pointer or calling `sbrk()`. Incorporating them doesn't produce more-advanced GC schemes, it just means you neglected to consider similar allowances for RC.

The line of contention is at traversing the object graph and pausing threads.