News for hackers. Stuff that matters.
Re:Does Rust's array bounds checking affect performance (2017)? by expnkx on Monday July 12, 2021 @04:57PM (#27815040)
If you want safety. you can just use _GLIBCXX_ASSERTIONS https://godbolt.org/z/eThdeW3Mv

It gives you all bounds checking you need.

In fact, a lot of Linux distributions (like Fedora) built all packages with _GLIBCXX_ASSERTIONS by default.

There are no comments on this comment yet.