Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
majewsky
on Sept 15, 2018
|
parent
|
context
|
favorite
| on:
You can’t “turn off the borrow checker” in Rust
I think modern C++ compilers are smart enough to eliminate the bounds check if they can prove that it never fails.
steveklabnik
on Sept 15, 2018
|
next
[–]
Yup, Rust will too.
saghm
on Sept 20, 2018
|
prev
[–]
I mainly do it this way to reduce the chance of my code panicking, not specifically for any performance reasons.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: