This is the official repository for the book "Introduction to Zig: a project-based Book", written by Pedro Duarte Faria. To know more about the book, check out the About this book section below. You can read the current version of the book in your web browser. The book is built using the publishing system Quarto in conjunction with a little bit of R code (zig_engine.R), which is responsible for calling the Zig compiler to compile and run the Zig code examples.
Features
- Data structures, memory allocators, filesystem and I/O
- The syntax of the language, and how it compares to C, C++ and Rust
- How to test and debug a Zig application
- Optionals as a new paradigm to handle nullability
- 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
Categories
EducationLicense
MIT LicenseFollow Introduction to Zig
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Introduction to Zig!