c/rust · by fettuccinecode@programming.dev · 2ySafety vs Performance. A case study of C, C++ and Rust sort implementations. https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md41 points · 3 comments · view on lemmy.world
3 Comments
robinm@programming.dev · 7 pts · 2y
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.
Duralf@lemmy.world · 6 pts · 2y
I can't believe that the std C++ implementations performance is this bad!
kornel@programming.dev · 3 pts · 2y
Happy to see Rust’s standard library near the top in performance. It’s nice to have a good implementation out of the box.