4 ms·
... and it uses SIMD encoding because the tooling made it available and convenient (and someone was willing to work on that, which is also a benefit of Rust). T
by fiedzia 2y ago
... and it uses SIMD encoding because the tooling made it available and convenient (and someone was willing to work on that, which is also a benefit of Rust). Tools matter.
- quotemstr 2y agoTrue! That said, vectorization is also available and convenient in C++. I'm just pointing out that the headline is kind of saying "aluminum Tesla Model S outperforms steel-bodied sports car" --- it emphasizes the wrong thing You can also write shitty slow code in Rust, and as the language becomes more popular, we'll see lower quality code. That's why it's so important to attribute performance wins to the real factors: we don't want to create the impression that translating a bad algorithm to Rust will somehow produce a good algorithm.