- Home Page
- Zig Language Reference
- Zig Standard Library Docs
- ziglearn "book"
- Ziglings
- Zig/JSON in 5 minutes
Installed zig-mode
in emacs.
You could install using a package manager.
I just downloaded a build from the downloads page.
Extract with tar -xvf
somewhere you want it to be.
Add that directory to your path echo 'export PATH=$PATH:~/path/to/zig' >> .bash_profile
.
zls - I just downloaded the prebuilt binary and put it in the same dir as my zig install. Eglot found it without issue.
Zon is the Zig package manager. It currently doesn't have a cli but works from the build.zig.zon
file in project root to install dependencies.
The install process wasn't perfectly smooth, but it wasn't difficult either.
Zap - Backend web micro framework. Wraps facil.io (which we used for C)
Note: We did have issues with Zap's latest pre-release not being compatible with Zig 0.12, thanks to chatter Southporter we were able to patch our cached version of Zap for compatibility without downgrading our Zig toolchain.
You actually had a memory leak in your fizzbuzz when you passed the heap allocator, you should've used a general-purpose allocator instead, and it would've given you an error