Memory management is like, important




Pools Object pools Thread pools Fixed size block allocation Can use Vec<Foo> push and pop to free


Arenas? Deallocate all at once. Good for fragmentation too.

Garbage Collection

semi space collector

Immix: A Mark-Region Garbage Collector with Space Efficiency, Fast Collection, and Mutator Performance Conservative Moving


bump pointers

Mark and Sweep

Boehm garbage collector liballocs. Garbage collector that looks at dwarf data. Asiprataional?

memory management toolkit

malloc and free are bad apis store unnecessary metadata, waste space

DangZero: Efficient Use-After-Free Detection via Direct Page Table Access

Untangling Lifetimes: The Arena Allocator

Garbage Collection Handbook

Control Theory and Concurrent Garbage Collection

automemcpy: A Framework for Automatic Generation of Fundamental Memory Operations