Skip to content
Prev 10426 / 12125 Next

[R-pkg-devel] using portable simd instructions

For the Rust curious, there is a portable SIMD module that is part of the
nightly build of Rust. The docs can be found at
https://rust-lang.github.io/portable-simd/core_simd/simd/index.html. I've
use it before with extendr to create R bindings to  a SIMD dot product
function using the examples
https://github.com/rust-lang/portable-simd/blob/master/crates/core_simd/examples/dot_product.rs

It works out of the box quite nicely. It could be a fun way to explore Rust
and SIMD :)

On Wed, Mar 27, 2024 at 9:44?AM Serguei Sokol <serguei.sokol at gmail.com>
wrote: