# Discoverability of ergonomic simd

**URL:** <https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209>\
**Category:** documentation\
**Created:** [May 18, 2019, 9:37am UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209 "2019-05-18T09:37:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vorner](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/vorner/32/3310_2.png) [@vorner](https://internals.rust-lang.org/u/vorner)\
**Post date:** [May 18, 2019, 9:37am UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/1 "2019-05-18T09:37:15Z")

</div>

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`](https://crates.io/crates/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`](https://crates.io/crates/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](http://crates.io) when searching for `simd` also produces nothing relevant.
- Hmm, wasn’t there some crate for simd vectors? Was it called `coresimd`? Or `stdsimd`? Turns out both of them exist, but they both say this on [crates.io](http://crates.io):

```nohighlight
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?

---

<div class="post-metadata">

**Author:** ![HadrienG](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/hadrieng/32/3294_2.png) [@HadrienG](https://internals.rust-lang.org/u/HadrienG)\
**Post date:** [May 18, 2019, 11:37am UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/2 "2019-05-18T11:37:11Z")

</div>

Raphlinus recently wrote a blog post on the status of SIMD. I’m on mobile so I cannot look it up, but it mentioned several other approaches being explored besides packed\_simd.

Personally, once it’s obvious that a particular approach has “won” (and only then), I would add it to a curated collection of crates like stdx to increase its visibility.

**EDIT -** Here’s that blog post : [https://raphlinus.github.io/rust/simd/2018/10/19/fearless-simd.html](https://raphlinus.github.io/rust/simd/2018/10/19/fearless-simd.html)

---

<div class="post-metadata">

**Author:** ![newpavlov](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/newpavlov/32/3290_2.png) [@newpavlov](https://internals.rust-lang.org/u/newpavlov)\
**Post date:** [May 18, 2019, 12:56pm UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/3 "2019-05-18T12:56:06Z")

</div>

I think this RFC should be of interest to you:

> <https://github.com/rust-lang/rfcs/pull/2366>

---

<div class="post-metadata">

**Author:** ![vorner](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/vorner/32/3310_2.png) [@vorner](https://internals.rust-lang.org/u/vorner)\
**Post date:** [May 18, 2019, 6:12pm UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/4 "2019-05-18T18:12:41Z")

</div>

Thank you for your responses. However, I was not asking for more information ‒ I’ve already found what I wanted.

Why I wrote the post is this. If I try to search for the current state, I get a lot of dead ends, abandoned crates, old blog posts. If you add the fact that the two nursery crates that can be found on [crates.io](http://crates.io) quite specifically point to look into std and std doesn’t contain it, the feeling at that point I got was that the whole SIMD project was _silently abandoned_. I believe this is the wrong impression.

---

<div class="post-metadata">

**Author:** ![kornel](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kornel/32/2711_2.png) [@kornel](https://internals.rust-lang.org/u/kornel)\
**Post date:** [May 19, 2019, 9:36pm UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/5 "2019-05-19T21:36:59Z")

</div>

lib.rs ranks `packed_simd` above `faster`: [https://lib.rs/search?q=simd](https://lib.rs/search?q=simd)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [August 17, 2019, 9:47pm UTC](https://internals.rust-lang.org/t/discoverability-of-ergonomic-simd/10209/6 "2019-08-17T21:47:31Z")

</div>

Closed on August 17, 2019, 9:47pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
