News for hackers. Stuff that matters.
Re:Zig vs. Rust at work: the choice we made by OutOfHere on Thursday June 20, 2024 @06:57AM (#40737210)
How did you learn Zig if it has no book?
Re:Zig vs. Rust at work: the choice we made by dualogy on Thursday June 20, 2024 @08:01AM (#40737685)
Not sure about OP, but here's how I did it back when I dabbled in it: had prior programming experience, read the docs. =)
Re:Zig vs. Rust at work: the choice we made by dragonelite on Thursday June 20, 2024 @08:18AM (#40737847)
Read the docs, do ziglings for a couple of nights to make it stick a bit better.

Then just start making small things like the "ray tracing in a week" or "Writing an interpreter in Go" book but only the parser part. I usually don't even finish those starter projects its just to get a better feel how to do structs, modules etc.

Re:Zig vs. Rust at work: the choice we made by mstef on Friday June 21, 2024 @10:57AM (#40750302)
besides the docs, there is also all the source code in /usr/lib/zig/std... very useful to learn zigisms and the API of the std library itself...