|
|
|
|
|
by WalterBright
416 days ago
|
|
Zig's use of comptime in a function argument makes it a template :-/ I bet if you use such a function with different comptime arguments, compile it, and dump the assembler you'll see that function appearing multiple times, each with somewhat different code generated for it. |
|
That you can draw an isomorphism between two things does not mean they are ergonomically identical.