|
|
|
|
|
by tialaramex
1366 days ago
|
|
Rust's std::simd is the portable abstraction but it is so far only available in nightly Rust, in principle you would be able to write code that does SIMD on whatever hardware (ARM, x86-64, whatever) is targeted including AVX. Yes, Rust has inline assembly in roughly the same way you'd be used to with C or C++ https://doc.rust-lang.org/reference/inline-assembly.html The Benchmarks Game has a bunch of benchmarks, and while it's probably significant that the Python programs are routinely orders of magnitude slower than say C, we likely shouldn't read too much into whether somebody scraped a few more milliseconds off the best time for one of the benchmarks listed. |
|