Skip to content

Chapter 19. Undefined Behavior

Zig gives the programmer direct access to memory, integers, pointers, and machine operations. This makes many programs simple and efficient. It also makes some operations...

SectionTitle
1Undefined Behavior
2Safety Checks
3Pointer Casts
4Integer Overflow
5Volatile Memory
6Packed Memory
7FFI Safety
8Exercises