Hacker News new | ask | show | jobs
by burntsushi 2146 days ago
> I recently had a project where I just ended up calling out to C code to handle vectorization.

packed_simd provides a convenient platform independent API to some subset of common SIMD operations. Rust's standard library does have pretty much everything up through AVX2 on x86 stabilized though: https://doc.rust-lang.org/core/arch/index.html --- So if you need vectorization on x86, Rust should hopefully have you covered.

If you need other platforms or AVX-512 though, then yeah, using either unstable Rust, C or Assembly is required.