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

Advertisements