Zig by Example(github.com) |
Zig by Example(github.com) |
For now, I have a basic grasp of C#, a little Python, a little C++, and a little TypeScript. I also know Java to some extent, but honestly, what I mostly build is CRUD app assembly. To go deeper, I think I need to dig into a systems language. But I'm not sure whether to invest in Zig or Rust.
- Learning Zig by Karl Seguin: https://www.openmymind.net/learning_zig/
- Free project-based online book Introduction to Zig by Pedro Park: https://pedropark99.github.io/zig-book.
- Ziglings, almost working programs you need to fix: https://codeberg.org/ziglings/exercises
Examples target Zig 0.14.
Been some significant changes since then, not least to printing and formatting (see writergate).Until then, use mise, nix, docker, or something similar. (You should be doing this anyway for projects in all languages if you care about them building on anyone's machine other than your own.)
Currently, doing something with Zig as a target language would spend many more tokens and produce subpar results.
It's honestly a great read as a human but also I packaged it as a skill and saw coding agent improvement, especially around memory usage.
3. https://github.com/tigerbeetle/tigerbeetle/blob/main/docs/TI...