3 ms·
> I'd just like to note how Zig does this: Right, what I'm talking about is the implementation of "comptime @sizeOf(*usize)". That it does the right thing is
by steveklabnik 6y ago
> I'd just like to note how Zig does this:
Right, what I'm talking about is the implementation of "comptime @sizeOf(*usize)".
That it does the right thing is good! It's easy to accidentally implement it in a way that does not.
> And for what it's worth, I would greatly prefer Rust having a proper spec
We all would :)