4 ms·
size_t is just a type that's large enough to hold the largest possible object. It doesn't necessarily relate to the register size... This means that `uintptr_t
by Diggsey 5y ago
size_t is just a type that's large enough to hold the largest possible object. It doesn't necessarily relate to the register size...
This means that `uintptr_t` must be at least as large as `size_t`, and so Rust's usage of `usize` for both is not problematic.