Does anyone know why 's nightly SIMD module uses a separate data structure from an ordinary array?
doc.rust-lang.org/nightly/std/si
I'm sure they considered that, just wondering what the pros/cons involved were!
Conversation
Could it have something to do with how it might be allocated in the appropriate SIMD registers?
Noting the `#[repr(simd)]` on the struct declaration, for instance.
1
yes, hello!
twitter.com/0xPCK/status/1
Correct, arrays are not actually interchangeable in ABI terms with SIMD values, even though they are often very close.
1
4
Show replies



