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

Project Samples

Project Activity

See All Activity >

Categories

Education

License

MIT License

Follow Introduction to Zig

Introduction to Zig Web Site

Other Useful Business Software
Earn up to 15% annual interest with Nexo. Icon
Earn up to 15% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Introduction to Zig!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

R

Related Categories

R Education Software

Registered

2024-10-21