Official docs outline
11 sections- Variables and Types
Const and var declarations, primitive types, and type coercion.
- Structs, Enums, and Unions
Aggregate types, tagged unions, packed layouts, and methods.
- Pointers and Slices
Single-item and many-item pointers, slices, and sentinels.
- Memory and Allocators
Explicit allocation, allocator interfaces, and lifetime management.
- Errors and Optionals
Error sets, error unions, try and catch, and optional types.
- comptime
Compile-time execution, generics via comptime, and type reflection.
- Control Flow
Loops, switch, defer and errdefer, and labeled blocks.
- Build System
build.zig, modules, build steps, and cross-compilation.
- C Interop
Importing C headers, extern functions, and calling convention.
- Illegal Behavior and Safety
Safety checks, build modes, and detectable illegal behavior.
- Atomics and Threads
Atomic operations and threading primitives.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.