Static Allocation, Constant Work
Summary
The article discusses static allocation and the Constant Work principle as approaches to memory management in systems like order matching engines. It contrasts malloc/free with object pools and generational indices, offering practical patterns to avoid use-after-free and improve performance and predictability; includes Zig/TigerBeetle examples and open-source references.