Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In Jai it is easy to, for example, have bounds checks on during the entire development process to aid in finding bugs, then turn off bounds checks in a dozen critical loops for testing and release, then turn bounds checking on in one loop that still proved crash-y.

That's pretty much exactly Rust's philosophy as well.

> Rather than Rust's "Safe All The Things!" approach, bounds checking is just another tool you can use or not use as is appropriate for the context.

Rust's philosophy is not "Safe All The Things". It has "unsafe" for a reason.

Anyway, I really dislike the overfocus on bounds checks, because they're pretty much zero overhead if properly implemented and optimized.



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

Search: