Zig is a system-level programming language.
Meta
- These are my notes on learning Zig.
- I am a web developer, working mostly with Python.
- I do this in my spare time, in small steps.
Resources
- Zig
- GitHub: ziglang/zig
- What’s Zig got that C, Rust and Go don’t have? (with Loris Cro)
- Zig: In-depth Overview
How to run Zig?
- Download Zig for your platform.
- Unpack the archive and place it somewhere.
- It contains a
zig
executable and alib/
directory. - The
zig
executable searches for thelib/
directory relative to its location. - I have it in the following places:
zig
executable in~/.local/zig/zig
lib/
directory in~/.local/zig/lib/
export PATH="$PATH:$HOME/.local/zig
My First Zig Program
- What do I want to build in Zig?
- Zig