Hacker News new | past | comments | ask | show | jobs | submit login

The vast majority of rust application code has unwrap()s everywhere, not to mention bounds checks on arrays, both of which trigger panics.

You can always check the validity of a generational reference before every use, just as you can check the array length or the Result<T,E>




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: