Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
norir
4mo ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
chuckadams
4mo 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
j
/
k
navigate · click thread line to collapse