Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmlp
on Jan 17, 2023
|
parent
|
context
|
favorite
| on:
How Memory safety approaches speed up and slow dow...
Except the little detail that manual heap allocation with RAII is also a thing.
ben-schaaf
on Jan 17, 2023
|
next
[–]
In which case you're no longer using the GC. You don't have GC & deterministic destruction, you have GC xor determinism.
gumby
on Jan 17, 2023
|
prev
[–]
That case isn't completely deterministic the way stack is: for the stack you just shift the SP which is constant time, while heap allocation and deallocation require manipulation of a small database, possibly including a system call.
This is a bit of hair splitting I admit.
pjmlp
on Jan 17, 2023
|
parent
[–]
It is as deterministic as RC algorithms, which is usually the point being discussed.
Yep, splitting hairs. :)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: