Skip to content

Part 6. Pointers and Memory

Memory is where a program keeps its data while it runs.

SectionTitle
1Memory Model Basics
2Single Item Pointers
3Many Item Pointers
4Slices
5Optional Pointers
6Pointer Arithmetic
7Alignment
8Sentinel-Terminated Arrays
9Stack vs Heap
10Dangling Pointers
11Memory Safety in Zig
12Volatile and Atomic Memory