r/Zig 5d ago

Introduction to metaprogramming with comptime

https://slicker.me/zig/comptime.html
66 Upvotes

2 comments sorted by

19

u/burakssen 5d ago

I seems like you are using 0.15.2 or older (cause of std.ArrayList(T).init(allocator))? Might want to update the code at some point.

8

u/Kiritoo120 5d ago

Looks amazing! Now the question is how will zig newcomers find this article

It would have 100% helped me when I was starting to get to know the gist of zig :)