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.