3
3
<a href =" " ><img src =" Cover/cover-artv3.png " width =" 250 " height =" 366 " class =" cover " align =" right " /></a >
4
4
5
5
Hey! This is the official repository for the book "Introduction to Zig: a project-based book", written by Pedro Duarte Faria.
6
- This book is still under active development, and, as a result, it's content might change drastically in the near future .
6
+ To know more about the book, checkout the [ About this book ] ( #about-this-book ) section below .
7
7
You can read the current version of the book in your web browser: < https://pedropark99.github.io/zig-book/ > .
8
8
9
9
The book is built using the publishing system [ Quarto] ( https://quarto.org )
@@ -21,6 +21,30 @@ materials for the community.
21
21
< https://www.amazon.com/dp/B0DJYMDRLP >
22
22
23
23
24
+ ## About this book
25
+
26
+ This an open (i.e. it is open-source), technical and introductory book for the [ Zig programming language] ( https://ziglang.org/ ) ,
27
+ which is a new general purpose, and low-level programming language for building optimal and robust software.
28
+
29
+ Official repository of the book: < https://github.com/pedropark99/zig-book > .
30
+
31
+ This book is designed for both beginners and experienced developers. It explores the exciting world of Zig through small
32
+ and simple projects (in a similar style to the famous "Python Crash Course" book from Eric Matthes).
33
+ Some of these projects are: a Base64 encoder/decoder, a HTTP Server and an image filter.
34
+
35
+ As you work through the book, you will learn:
36
+
37
+ - The syntax of the language, and how it compares to C, C++ and Rust.
38
+ - Data structures, memory allocators, filesystem and I/O.
39
+ - Optionals as a new paradigm to handle nullability.
40
+ - How to test and debug a Zig application.
41
+ - Errors as values, and how to handle them.
42
+ - How to build C and Zig code with the build system that is embedded into the language.
43
+ - Zig interoperability with C.
44
+ - Parallelism with threads and SIMD.
45
+ - And more.
46
+
47
+
24
48
25
49
## How to build the book
26
50
0 commit comments