Simd module question

Hello,

I am currently trying to port a specific swift application that uses the simd module (only available on macos, as it seems) to Linux,
I was not very successful into finding simd modules compatible with Linux.
Does anyone know any?

I'm searching for a library that would have functions like simd_float4x4, in particular

Right, the simd module is part of Apple's SDKs, not part of Swift.

imath is probably the most established comparable library that's available cross-platform (with a 3-clause BSD license, IIRC). It's C++, but the process of writing a C shim header that makes the parts you want to use importable by Swift would be entirely mechanical.

1 Like