I hope someday we can stop thinking of "stack" and "heap" as the two fundamentally different modes of memory allocation and instead reframe memory allocation as a continuum of strategies, from bump allocation to segregated fit to best fit to compacting, etc.
-
-
Rsp += size Vs copying gc is quite a difference! Stack is far cheaper
-
Isn't nursery allocation also just bumping a pointer by size and comparing with arena max? That's how I've made a simple implementation before.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.