3 ms·
Was faster and is the same, checking isn't free. Not that Rust is slow. C++ is unsafe by default whereas in Rust it is opt-in (lexically scoped). The Rust imple
by burnthrow 6y ago
Was faster and is the same, checking isn't free. Not that Rust is slow. C++ is unsafe by default whereas in Rust it is opt-in (lexically scoped). The Rust implementations don't appear to use `unsafe`.
- steveklabnik 6y agoChecking can often be free, because it’s done at compile time, rather than at runtime.