Hello
I’ve wanted to check once again what the status of some kind of ergonomic simd in Rust is. While I eventually did find the packed_simd
, it took a more thorny journey then what I’d have preferred. I’d open some issues somewhere, but I’m not sure what the right repository is, so I’m writing it here (I hope most/all the relevant repositories would be under rust-lang or rust-lang-nursery).
What I did:
- I remembered the
faster
. Last release 10 months ago ‒ so, not the most recent thing around something that is still being developed. - Shouldn’t there be something in std already? Like, something more than
std::arch
? Searching in the std docs for simd produces nothing. - The first page of crates.io when searching for
simd
also produces nothing relevant. - Hmm, wasn’t there some crate for simd vectors? Was it called
coresimd
? Orstdsimd
? Turns out both of them exist, but they both say this on crates.io:
stdsimd is now shipped with Rust's std library - its is part of libcore and libstd.
The easiest way to use it is just to import it via use std::arch.
And the last update on them is 7 months ago.
At this point I was a bit depressed, because it seemed like the simd story was given up and abandoned. Only after looking if there was some recent commit in the stdsimd repository I noticed the link to packed_simd
.
So, while I’m now happy I found it, what do you think should be done about some kind of discoverability of the crate?