Zig in Depth is a practical guide to modern systems programming with Zig. Through clear explanations and runnable examples, you'll learn to write safe, efficient, and idiomatic Zig code, from the language fundamentals to advanced features like comptime, memory management, concurrency, and C interoperability.
This book is basically a record of my serious learning journey with Zig. The application at its heart, Zigkit, started as a single print statement and ended as twenty-five cooperating modules handling everything from arithmetic to HTTP. It's small enough to understand completely and complete enough to demonstrate every major systems programming concern. Each section of the book adds one module, introduces one concept, and produces one working program.