4 ms·
Documentation is definitely not the language's strong point just yet, but that's understandable when it's still on a 0.x release and it's a massive work in prog
by ljm 6y ago
Documentation is definitely not the language's strong point just yet, but that's understandable when it's still on a 0.x release and it's a massive work in progress with ambitious goals. The reference is useful at a high level, the autogenerated stdlib stuff is highly hit and miss and I suppose will be ripe for community contribution when the method of generating it is nailed down.
The language itself is fantastic once you get a decent grasp of it, which you'll probably achieve by reading the stdlib source to get a feel for what you need to do.
I've been using it to build stuff on my Pi Zero. Still hit a few snags with cross compilation and C interop, but it's been a pleasure to write. I'm definitely keeping an eye on it as a good alternative to getting into Rust.
- jorangreef 6y agoI'm also looking to use Zig for a Pi. Any tips? If you publish a blog post please give me a ping!
- ljm 6y agoI'll collect my thoughts on it as I'm still not completely there, but I'll have something when I've got it working.
- ljm 6y agoI've put it all here if it's any use for ya :) https://www.kamelasa.dev/programming/gettin-ziggy-with-it-pi-zero/ https://www.kamelasa.dev/programming/gettin-ziggy-with-it-pi...
- jorangreef 6y agoHey, thanks! That's a brilliant post, awesome tone and a huge help. I really appreciate it and have passed it on to everyone at work.