4 ms·
SIMD is not a problem, it's hardware. Compilers tend to take advantage of the CPU-specific SIMD registers and instructions, or you can use them explicitly. Wri
by Comevius 5y ago
SIMD is not a problem, it's hardware. Compilers tend to take advantage of the CPU-specific SIMD registers and instructions, or you can use them explicitly.
Writing generic SIMD code is more portable. C has libraries, and Zig also has vector primitives available through built-in functions.
- pjmlp 5y agoAny language can have libraries, C is not special here, nor is Zig. In fact, a few GC enabled languages have explicit SIMD support.