Jump to ratings and reviews
Rate this book

Introduction to Zig: a project-based book

Rate this book
This an open, technical and introductory book for Zig, a new general purpose, and low-level programming language for building optimal and robust software.

This book is designed for both beginners and experienced developers. It explores the exciting world of Zig through small and simple projects (in a similar style to the famous "Python Crash Course" book from Eric Matthes). 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.

312 pages, Kindle Edition

Published October 11, 2024

29 people are currently reading
13 people want to read

About the author

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 (33%)
4 stars
3 (50%)
3 stars
1 (16%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Niklas.
29 reviews
Read
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 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.