3 ms·
Okay, so this crate adds Zig's actual comptime?
by johnisgood 2y ago
Okay, so this crate adds Zig's actual comptime?
- weinzierl 2y agoNo, it doesn't because it is based on Rust macros which are strictly less capable than Zig comptime in a crucial way (compile time reflection). Neither Rust macros nor const fn are 100% what Zig comptime is but they have other properties that Zig comptime lacks. Apples and oranges.
- johnisgood 2y agoThen the title is misleading (although not surprising). So what are the major differences between the two anyways? Just to be sure.