Comment by coder543
8 years ago
Your formatting didn't work, but no, it doesn't "look painful."
What you wrote does not guarantee vectorization, it just relies on autovectorization.
Rust already does autovectorization magically behind the scenes thanks to LLVM (which Julia also uses), but explicit SIMD makes it a guarantee.
Here is how to do explicit SIMD in julia: https://github.com/eschnett/SIMD.jl