Re:Why I rewrote my Rust keyboard firmware in Zig: consisten...
by lhorie on Sunday March 07, 2021 @09:36AM
(#26376115)
Only thing I can think of is something blowing up when cross-compiling to a different target because there's no code in the static if branch to handle that architecture (e.g. stdlib doesn't officially support WASI). But that's not really comptime's fault per se IMHO; you can break things in similar ways in golang, for example.
Unlike C, zig's comptime doesn't have grammar altering abilities
Unlike C, zig's comptime doesn't have grammar altering abilities