News for hackers. Stuff that matters.
Re:Rust vs. C++: Fine-grained Performance by jtxx000 on Sunday February 07, 2016 @09:20AM (#11052899)
On my Macbook Pro, the rust version seems consistently faster (20% or so) than the c++ version compiled with clang.
Re:Rust vs. C++: Fine-grained Performance by jtxx000 on Sunday February 07, 2016 @12:16PM (#11053645)
As a followup, if I use __builtin_expect as recommended by the article, the situation reverses, with c++ being significantly faster.