News for hackers. Stuff that matters.
Re:Crabtime: Zig's Comptime in Rust by weinzierl on Saturday March 22, 2025 @06:59AM (#43444919)
No, 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.

Re:Crabtime: Zig's Comptime in Rust by johnisgood on Sunday March 23, 2025 @05:02AM (#43451681)
Then the title is misleading (although not surprising).

So what are the major differences between the two anyways? Just to be sure.