Comment Comment by ashvardanian This is a nice exercise!There is also a very different “write SIMD assembly in Python” approach available through the PeachPy library, one of the least known gems between Python and HPC worlds: https://github.com/Maratyszcza/PeachPyThis is what a dot-product would look like in PeachPy: https://unum-cloud.github.io/usearch/python/index.html#id4PS: Cppyy and Numba are also fun to use in such projects :) parent ashvardanian 2 years ago
There is also a very different “write SIMD assembly in Python” approach available through the PeachPy library, one of the least known gems between Python and HPC worlds: https://github.com/Maratyszcza/PeachPy
This is what a dot-product would look like in PeachPy: https://unum-cloud.github.io/usearch/python/index.html#id4
PS: Cppyy and Numba are also fun to use in such projects :)