Hacker GitHub

← All repos

rust-lang/portable-simd

View on GitHub ↗ ★ 1,079 Rust

The testing ground for the future of portable SIMD in Rust

7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2021-08-20 · latest 2025-11-06

Mentions per year 7 mentions · busiest year 2025 (3)
20082026
  1. …for generic_const_exprs to be stable, and right now it is not only not stable but incomplete too ( https://github.com/rust-lang/portable-simd/issues/416 ). This is a hard design philosophical change and is not easy to deal with. Time will…
    comment by stevefan1999 · 2025-11-06 · in The state of SIMD in Rust in 2025
  2. …great, then hard-code the lane count, but otherwise don't. See [0] for more examples of this. [0] https://github.com/rust-lang/portable-simd/issues/364#issuec... [1] https://calebzulawski.github.io/rust-simd-book/4.2-native-ve...
    comment by camel-cdr · 2025-07-05 · in The messy reality of SIMD (vector) functions
  3. …SIMD intrinsics and/or inline assembly, which are no better than their C equivalents. [1]: https://github.com/rust-lang/portable-simd
    comment by cbarrick · 2025-03-17 · in Zlib-rs is faster than C
  4. …produces a new SIMD vector where the output is the source lane values in the pattern given.“ [0] https://github.com/rust-lang/portable-simd/issues/11
    comment by MrBuddyCasino · 2022-09-26 · in Zen4's AVX512 Teardown
  5. …is a library that tries to provide a portable layer above all architecture specific SIMD APIs: https://github.com/rust-lang/portable-simd
  6. Well, Rust is getting support for portable vectors (I'm one of the ones working on that): https://github.com/rust-lang/portable-simd
    comment by programmerjake · 2021-08-20 · in Three Fundamental Flaws of SIMD