Skip to content
gmontanaPublic

About

From C to Zig: A Problem-Based Guide to Systems Programming

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

From C to Zig

A practical Zig 0.16.0 tutorial for C programmers.

Each chapter starts with a small C example, then shows the Zig version and the main differences.

Requirements

  • Zig 0.16.0
  • A C compiler (gcc or clang)
  • Python 3.10+ for the optional snippet validator

Chapters

Projects

Validate

python3 validator/validator.py chapters/ --compile-only

Project checks:

cd projects/wc && zig build test
cd ../httpd && zig build && zig build test
cd ../snake && zig build

License

This work is licensed under CC BY 4.0.

About

From C to Zig: A Problem-Based Guide to Systems Programming

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages