3 ms·
Comptime is pretty much C++ templates without the need for a completely separate language for metaprogramming, which is the way it should be IMO. (The downside
by int_19h 2y ago
Comptime is pretty much C++ templates without the need for a completely separate language for metaprogramming, which is the way it should be IMO.
(The downside is that there's no template parameter inference, but I'm pretty sure that this is one of those things that Zig would avoid by design anyway.)