Comment by whitehexagon
1 month ago
I'm looking forward to getting back to Zig soon, especially now that there is support for Asahi linux.
I like that for low level SoC stuff, there is now the packed struct, which makes register representation very nice to deal with, especially with the definable int types, although I'm often torn between a u1, bool and sometimes even a enum(u1) for certain flags. I tend to let the SoC documentation (naming convention) drive that decision.
Otherwise there is a lot of nice and simply designed language stuff in Zig that also takes me back to my C / asm days. My least fav. part is maybe multi-line string literals that look like comments. I prefer the kotlin approach there.
I'd like to find a non walled-garden Zig community if there are other Zig fans here, ie just a forum. Or tips on editor to use? since I am tired of electrons being burned needlessly, and almost feel like I need to VM these modern dev tools.
Does https://ziggit.dev/ not cut it for you in terms of non-walled garden?
It seems to be good enough that I basically don't interact with the Zig Discord anymore.
I'm lurking so far, but looks like just what I was searching for. Thanks!
I’m doing all my Zig editing in Zed and it works great.
For version management I use mise (or scoop on Windows).
Thanks. I managed to find a build of sublime that kinda works (menu bar issues), but not figured out code completion, just seems to spam recent tokens at me. I had a look at Zed thanks, but didnt fancy the tight AI integration stuff. I'm a bit grumpy old mad and like my tools totally offline.
You can disable all that stuff.