logoalt Hacker News

encodedrosetoday at 1:47 AM1 replyview on HN

If I followed, Rust's memory safety guarantee means sacrificing roughly ~3% performance with some worst case paths being ~15% (compared to C++ performance)?


Replies

marcosdumaytoday at 2:28 AM

That's on the typical performance for bounds checking in C too.

But no, "memory safety" includes most of the things discussed on the slides, and those number are for bounds checking only.

show 1 reply