SIMD in Pure Python
- Python Has infinite precision integers (Python also has a
bytearraytype) - Python has bitwise operation (
&,|,^,~,<<,>>) - Leverage compiler optimizations (CPython compiles your code into a bytecode format)
That's enough to implement simple SIMD operations in pure Python.
Awesome!
References: