Tag: Memory Management
All the articles with the tag "Memory Management".
-
Memory Magic Part 4: The Infinite Buffer
Using virtual memory to create a seamless ring buffer with no wrap-around logic.
-
Memory Magic Part 3: The Specialist's Toolkit
Building specialized allocators: free lists, packed arrays, and slot maps with generational handles.
-
Memory Magic Part 2: The Arena Allocator
Stop asking the OS for memory. Learn how to build an Arena: a private memory block where allocation is instant and an entire class of bugs is impossible.
-
Memory Magic Part 1: The Pointer is a Lie (A Dive into Virtual Memory)
Ever wondered how your computer runs multiple programs without them setting each other on fire? The answer is Virtual Memory.