Re:Zig in 30 Minutes
by emptyparadise on Sunday January 03, 2021 @05:22AM
(#25620900)
Thanks! I was using "serious" very loosely, more in a sense of wanting to see the language in action beyond demonstrations and examples.
https://github.com/floooh/pacman.zig
...and before that I did the same in C99 (might be useful for comparing the languages):
https://github.com/floooh/pacman.c
Disclaimer: I'm not a Zig expert at all, and the project doesn't really require most Zig features that differ from C. But I think writing small and "for-fun" projects like this is important for getting used to a language. I think one of Zig's big qualities is that it is so straightforward, after a few hundred lines you hardly have to look up things in the language documentation anymore.