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

> Rust does not guarantee the possibility of matching C++ performance unless you use unsafe code.

As with any performance question, this is hard to actually say in general. In the Benchmarks game(1), there are several benchmarks where Rust has no unsafe code and is still faster than C.

1: personal note: ugh, all usual caveats apply, etc.




If you think there's something wrong about the benchmarks game then don't point to the benchmarks game as evidence for what you wish to be true.




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

Search: