4 ms·
> Rust's memory model allows the compiler to always assume that function arguments never alias. You must manually specify this in Zig. I've avoided such manual
by WalterBright 1y ago
> Rust's memory model allows the compiler to always assume that function arguments never alias. You must manually specify this in Zig.
I've avoided such manual specification of aliasing because:
1. few people understand it
2. using it erroneously can result in baffling bugs in your code