Re:Zig's Comptime Is Bonkers Good
by deredede on Tuesday January 07, 2025 @08:41AM
(#42622178)
Parametricity is about behavior, not code. A function parametric in a variable should bevave identically for all values of the variable. If one instance of a C++ template fails to compile and another instance of the same template does compile it is a stretch to say they behave identically, even though they use the same code.
[ Parent
| on HN ]
There are no comments on this comment yet.