Part 12. Allocators and Memory Management
Memory is one of the most important ideas in Zig.
| Section | Title |
|---|---|
| 1 | Why Zig Uses Allocators |
| 2 | General Purpose Allocator |
| 3 | Arena Allocator |
| 4 | Fixed Buffer Allocator |
| 5 | Page Allocator |
| 6 | Custom Allocators |
| 7 | Allocation Failure Handling |
| 8 | Memory Leak Detection |
| 9 | Lifetime Management |
| 10 | Building Allocation-Friendly APIs |