Safety vs Performance. A case study of C, C++ and Rust sort implementations. (github.com)
from fettuccinecode@programming.dev to rust@programming.dev on 05 Oct 2023 09:46
https://programming.dev/post/3955072

#rust

threaded - newest

Duralf@lemmy.world on 05 Oct 2023 18:42 next collapse

I can’t believe that the std C++ implementations performance is this bad!

robinm@programming.dev on 06 Oct 2023 00:06 next collapse

That was a fantastic read. I’m both impressed by the stellar performance of C, and the stellar safety of Rust while keeping nealy best in class performances.

kornel@programming.dev on 06 Oct 2023 16:31 collapse

Happy to see Rust’s standard library near the top in performance. It’s nice to have a good implementation out of the box.