Memory allocation strategies: a stack-like (LIFO) allocator

Last time, we were looking at a linear allocator, probably the simplest of all memory allocators. This time, we will detail how to implement a non-growing stack-like allocator, along with conventional use-cases.

Continue reading


Memory allocation strategies: a linear allocator

During the next few weeks, I’d like to detail how the memory allocators inside Molecule work, starting with a simple, non-growing linear allocator today in order to cover some base first.

Continue reading