3 ms·
Great writeup with easy to understand steps. One thing it's lacking though is in the conclusion. I'd like to see a comparison to the C++ implementation.
by carlmr 2y ago
Great writeup with easy to understand steps. One thing it's lacking though is in the conclusion. I'd like to see a comparison to the C++ implementation.
- efnx 2y agoYes, exactly. How close does it come after all those optimisations?
- urcyanide 2y agoIt has the same QPS as the C++ version for GIST dataset. While Rust has more SIMD, C++ has const generic. I guess there is still some space for future improvement.
- carlmr 2y agoOh nice, the article already changed. I can't quite imagine it's the exact same though in all metrics. Some graphs of measurement statistics would be even better.
- skavi 2y agohttps://parallel-rust-cpp.github.io/ https://parallel-rust-cpp.github.io/ This goes through seven iterations of optimization an algorithm in rust, comparing it to the equivalent c++ at each stage.