3 ms·
I wanted to try learning Zig, but found the resources to be incomplete and lacking in examples. Rust (or Go) in comparison has a plethora of online resources wi
by toastercat 3y ago
I wanted to try learning Zig, but found the resources to be incomplete and lacking in examples. Rust (or Go) in comparison has a plethora of online resources with great examples.
I realize Zig is just 0.11, but wondering what resources people relied on to pick it up?
- rgrmrts 3y agoI’ve been using the language reference [0] and also just browsing the standard library source code [1] for examples. [0]:https://ziglang.org/documentation/0.11.0/ https://ziglang.org/documentation/0.11.0/ [1]:https://github.com/ziglang/zig/tree/master/lib/std https://github.com/ziglang/zig/tree/master/lib/std
- flohofwoe 3y agoThat's important: don't be afraid to look into the stdlib source code when questions arise. It's easy to read and stuff is easy to find, and it's also a great teacher.
- bsaul 3y agoSince go, this has been a really great way for me to judge a langage: how readable is the stdlib ? If it's layer upon layer of unscrutable abstractions, then you know there's a high chance your codebase will end up looking the same after a few years.
- kristoff_it 3y agoThe main available resources are listed here https://ziglang.org/learn/ https://ziglang.org/learn/