-
Book Overview & Buying
-
Table Of Contents
Systems Programming with Zig
By :
In this first part of the book, we establish the foundations that every subsequent chapter builds on. We begin by putting Zig to work immediately on real UNIX utilities, then examine the build system, testing infrastructure and distribution tooling that make Zig projects maintainable. From there, we go deeper into the language's most distinctive territory: explicit memory management, pointer arithmetic, custom allocator design, and the comptime machinery that enforces correctness at compile time rather than runtime. The part closes with stream processing, buffering strategies, and data encoding — the I/O primitives that underpin every networked and filesystem-facing program in the rest of the book.
This part of the book includes the following chapters: