Re:Zig's Comptime Is Bonkers Good
by 0x696C6961 on Tuesday January 07, 2025 @09:17AM
(#42622517)
Because after enough hands have touched a codegen script, debugging it becomes impossible.
[ Parent
| on HN ]
Re:Zig's Comptime Is Bonkers Good
by 0x1ceb00da on Tuesday January 07, 2025 @11:34AM
(#42624283)
In jai you use the same language for programming and metaprogramming. The compiler knows how to execute the bytecode it generates. The compiler also has a builtin debugger for the bytecode.