News for hackers. Stuff that matters.
Re:Zig in 30 Minutes by ljm on Sunday January 03, 2021 @10:07AM (#25622148)
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.

Re:Zig in 30 Minutes by jorangreef on Sunday January 03, 2021 @12:47PM (#25623368)
I'm also looking to use Zig for a Pi. Any tips? If you publish a blog post please give me a ping!
Re:Zig in 30 Minutes by ljm on Tuesday January 05, 2021 @04:38PM (#25651500)
I've put it all here if it's any use for ya :) https://www.kamelasa.dev/programming/gettin-ziggy-with-it-pi...
Re:Zig in 30 Minutes by jorangreef on Thursday January 07, 2021 @12:34PM (#25674232)
Hey, 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.
Re:Zig in 30 Minutes by ljm on Sunday January 03, 2021 @04:59PM (#25625645)
I'll collect my thoughts on it as I'm still not completely there, but I'll have something when I've got it working.