Skip to content

Comment on Ask HN: Any good resource on writing your own mmap allocator?

Comments

I collected some links to interesting and useful links about allocators here https://github.com/rain-1/awesome-allocators

I think you would look into bitmap based allocators (which only handles fixed size allocations, but it's very simple) and then (more advanced) binary buddies system to start with.

* http://sean.cm/a/tricolor-garbage-collector

* http://www.memorymanagement.org/mmref/alloc.html

cplatOP

Thanks! This is very useful.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.