Fearless SIMD v1.0(linebender.org)
310 points by verdagon 21 days ago | 49 comments
tl;dr: Fearless SIMD v1.0 is a Rust crate that eliminates ad-hoc unsafe code from SIMD programming by leveraging the target_feature v1.1 compiler feature and a safe transmute module, while still allowing zero-overhead drops to platform intrinsics. It offers portable abstractions with both precise and fast variants, hardware-native vector sizing, and a new `#[simd]` macro for ergonomic function multiversioning without `#[inline(always)]` boilerplate. The project promises 3 years of security updates, already has 30 direct dependents, and will complement rather than be replaced by std::simd once it stabilizes.
HN Discussion:
  • ↑Users share success stories of adopting Fearless SIMD in their own crates
  • ↑Congratulations and appreciation for the library reaching stable v1.0
  • •Requests for comparison with alternative libraries like Google Highway or ISPC
  • •Questions about supporting advanced compiler analyses for numeric optimizations
  • •Pointing to related/alternative crates like macerator for additional features