News for hackers. Stuff that matters.
Re:Memory Management Reference by kaba0 on Thursday July 14, 2022 @04:47AM (#32093607)
I really like the ideas behind Vale, but I don’t understand this:

“These adjustments mean we never need the heap which is a big improvement”

Why would the heap be problematic? It is not different from the stack, there is nothing different between the stack and the heap from the perspective of the CPU. Memory locality is what matters - if you allocate an arena and fill it tightly and refer to elements in it in a predictable manner it will be just as fast.

There are no comments on this comment yet.