Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
norir
17 hours ago
|
parent
|
context
|
favorite
| on:
Allocating on the Stack
If you have well defined boundaries, you can move the stack to an arbitrarily large chunk of memory before the recursive call and restore it to the system stack upon completion.
help
chuckadams
16 hours ago
[–]
And if you never do reach completion, you can just garbage collect that chunk. AKA "Cheney on the MTA":
https://dl.acm.org/doi/10.1145/214448.214454
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: