Zig by Example
75 points by dariubs 2 hours ago | 10 comments
shaftoe444 55 minutes ago
Examples target Zig 0.14.
Been some significant changes since then, not least to printing and formatting (see writergate).pezgrande 26 minutes ago
I like Zig but stopped learning it when I realized that all project based on it requires a specific version of the compiler to build.
replynoelwelsh 24 minutes ago
Very brief. I'm not sure what this adds over reading the language documentation (which itself is not great). As it's entirely organized by language features it doesn't really talk about any larger scale design decisions, which is where I think language proficiency is really found.
replyfallingmeat 32 minutes ago
for those new, start with why: https://ziglang.org/learn/why_zig_rust_d_cpp
reply
- Learning Zig by Karl Seguin: https://www.openmymind.net/learning_zig/
- https://zig.guide/
- 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