Zig by Example
github.com
Zig by Example
1–10 of 109 posts
Re: Zig by Example
#2 Examples target Zig 0.14.
Been some significant changes since then, not least to printing and formatting (see writergate).Re: Zig by Example
#3lots of people into zig this morning apparently!
Re: Zig by Example
#4I just looked this up yesterday so sharing some more up-to-date resources for those interested in Zig:
- 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
Re: Zig by Example
#5Examples target Zig 0.14. Been some significant changes since then, not least to printing and formatting (see writergate).
Also build system and c interop is outdated
Re: Zig by Example
#6for those new, start with why: https://ziglang.org/learn/why_zig_rust_d_cpp
Re: Zig by Example
#7Is this much different than ziglings?
Re: Zig by Example
#8I like Zig but stopped learning it when I realized that all project based on it requires a specific version of the compiler to build.
Re: Zig by Example
#9Very 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.
Re: Zig by Example
#10Looking for a resource (MCP, CLI, Skill, ...) that would improve Zig support in LLMs.
Currently, doing something with Zig as a target language would spend many more tokens and produce subpar results.