Part 6. Pointers and Memory
Memory is where a program keeps its data while it runs.
| Section | Title |
|---|---|
| 1 | Memory Model Basics |
| 2 | Single Item Pointers |
| 3 | Many Item Pointers |
| 4 | Slices |
| 5 | Optional Pointers |
| 6 | Pointer Arithmetic |
| 7 | Alignment |
| 8 | Sentinel-Terminated Arrays |
| 9 | Stack vs Heap |
| 10 | Dangling Pointers |
| 11 | Memory Safety in Zig |
| 12 | Volatile and Atomic Memory |