4 ms·
Rust does not have goto, but it’s not about being academic: a lot of Rust’s compile time checks are flow-based, and unstructured control flow would make them a
by steveklabnik 8y ago
Rust does not have goto, but it’s not about being academic: a lot of Rust’s compile time checks are flow-based, and unstructured control flow would make them a lot more slow and complex.
Bitfields have a package that makes them easy.
If you want aliasing, there’s UnsafeCell.
Yes, there are vector intrinsics, and they’re part of the language, not a non-standard extension. And there are tools to choose between things too.
Switch requires a default, but you can declare the default unreachable. You should always be able to get the same asm.