Jump to ratings and reviews
Rate this book

Introduction to Zig: a project-based book

Rate this book
An introductory and technical book for Zig, a new general purpose and low-level programming language. This book is designed for both beginners and experienced developers. It explores the exciting world of Zig through small and simple projects. Some of these projects a Base64 encoder/decoder, a HTTP Server and an image filter.

As you work through the book, you will syntax of the language, and how it compares to C, C++ and Rust.Data structures, memory allocators, filesystem and I/O.Optionals as a new paradigm to handle nullability.How to test and debug a Zig application.Errors as values, and how to handle them.How to build C and Zig code with the build system that is embedded into the language.Zig interoperability with C.Parallelism with threads and SIMD.And more.

301 pages, Paperback

Published October 12, 2024

Loading...
Loading...

About the author

Pedro Duarte Faria

5 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (20%)
4 stars
6 (60%)
3 stars
2 (20%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Arjun K..
4 reviews12 followers
August 22, 2026
Really solid. Had a blast working through all four projects. This guide basically gives you enough confidence to get started with the language. The Kindle version I had was already a bit outdated, so I had to refer back to the website pretty often, especially since 0.16 introduced some major IO changes. But that's to be expected from a guide covering a language that's still in beta.
Profile Image for Niklas.
32 reviews
February 27, 2025
One of the only books about Zig. The book is "open" and is still under active development. It introduces Zig through a couple of projects. It feels like it needs a little more work but is a great start.
Displaying 1 - 2 of 2 reviews