6 ms·
The only "big advantage" I can think of is that libraries like simdjson usually are still written for AVX first, NEON later. Otherwise it's not so clear cut, es
by floatboth 5y ago
The only "big advantage" I can think of is that libraries like simdjson usually are still written for AVX first, NEON later. Otherwise it's not so clear cut, especially if not using any libraries like that.
- freemint 5y agoAnd SVE even later.
- floatboth 5y agoSVE hardware has been made of unobtainium so far. Graviton3 will change that pretty soon though.
- pclmulqdq 5y agoAlso, the datapath is a lot wider: NEON only does 16 bytes per vector, while Intel has fixed most of its frequency issues and can go up to 32 bytes per vector without throttling. AVX is also a lot more expressive, and can do more per instruction.
- forty 5y agoI have no idea if nodejs is taking advantage of this to be honest.
- skavi 5y agoSVE2 seems great though [0]. It looks at least as nice to use as AVX512. Graviton3 has SVE2, though I'm not sure what vector length they use. [0]: https://developer.arm.com/documentation/ddi0602/2021-09/SVE-Instructions https://developer.arm.com/documentation/ddi0602/2021-09/SVE-...