Hacker News new | ask | show | jobs
by coder543 2801 days 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.

1 comments

Here is how to do explicit SIMD in julia: https://github.com/eschnett/SIMD.jl