HackerTrans
热门最新趋势评论往期问答秀出招聘

kcl

no profile record

提交

Reference count, don't garbage collect

kevinlawler.com
189 分·作者 kcl·4年前·406 评论

评论

kcl
·4年前·讨论
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.