Re:Zig's Comptime Is Bonkers Good
by nimish on Tuesday January 07, 2025 @03:29PM
(#42627050)
Sure, but it's the same thing in 10x fewer words. Having parametric generic types that accept constraints allows your functions to have the best of all worlds.
So a language _with_ that is superior. All zig needs to do is add some way to allow for constraints.
So a language _with_ that is superior. All zig needs to do is add some way to allow for constraints.