Doesn't Zig have a pretty nice implementation of compile-time evaluation built in?
Comptime in zig is definitely quite cool, but not quite the same.
Consider this example. https://jimmyhmiller.com/split-shot/#/vm
Make the code a comptime argument in zig and you get "store to comptime variable depends on runtime condition".
Comptime in zig is definitely quite cool, but not quite the same.
Consider this example. https://jimmyhmiller.com/split-shot/#/vm
Make the code a comptime argument in zig and you get "store to comptime variable depends on runtime condition".