Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmlp
on July 30, 2022
|
parent
|
context
|
favorite
| on:
Reference count, don't garbage collect
Without atomics, lock free algorithms are required, which without adequate CPU support are very hard to get right.
elcritch
on July 30, 2022
[–]
Lock free algorithms generally require atomics. The non-atomic RCs use other algorithms to eliminate or at least reduce atomics. The main detail is that the bulk of normal incr/decr's are non-atomic.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: