Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kgeist
on June 22, 2022
|
parent
|
context
|
favorite
| on:
Surprising result while transpiling C to Go
Not only that, shared_ptr is also popular in such codebases, and shared_ptr usually has an additional allocation to store reference count in the "control block".
cogman10
on June 22, 2022
[–]
shared_ptr is nothing more than low latency GC that can't handle cycles. It's the extreme end of the latency throughput tradeoff.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: