Hi all! I’m looking for a project idea to learn Zig with. I’m particularly interested in exploring the limits of comptime, changing the way functions work based on inputs, ala std.debug.print.
Things I’ve already tried:
Advent of Code: A lot of parsing, and basic math calculations. I’ve learned, but I’m looking for a different challenge.
I tried putting my own spin on nine-lives-later/zzmq; I didn’t understand why it needed allocators, but when I tried doing it, I had problems passing data to c. (zmq_send_const and zmq_recv), and once I got past that, I hit a bunch of frustrating hangs with no obvious solutions.
The omission of macros is one of the things that drew me to Zig (and away from rust), and I’m keen to see how many of the benefits of macros you can get with just comptime.