Skip to content

Part 12. Allocators and Memory Management

Memory is one of the most important ideas in Zig.

SectionTitle
1Why Zig Uses Allocators
2General Purpose Allocator
3Arena Allocator
4Fixed Buffer Allocator
5Page Allocator
6Custom Allocators
7Allocation Failure Handling
8Memory Leak Detection
9Lifetime Management
10Building Allocation-Friendly APIs