2 ms·
Does nim support SIMD intrinsics? Without those you aren't getting "C performance."
by bjourne 6y ago
Does nim support SIMD intrinsics? Without those you aren't getting "C performance."
- lasagnaphil 6y agoAbsolutely yes, you just need to let the Nim compiler read the C headers for <immintrin.h> or something like that. Here’s a nice SIMD wrapper for Nim: https://github.com/numforge/laser/blob/master/laser/simd.nim https://github.com/numforge/laser/blob/master/laser/simd.nim