Tech News
← Home  ·  All topics

Numpy

1 GoKawiil brief on this topic

OpenBLAS now runs in WebAssembly, speeding up NumPy in browsers up to 31x

Emscripten-forge has added OpenBLAS support to its NumPy package for WebAssembly, replacing the previous unoptimized fallback loops used for matrix operations in browser-based Python. Benchmarks show np.matmul on 1024x1024 matrices running roughly 30.92x faster for float32 and 14.90x faster for float64, with an upcoming OpenBLAS release and an optional Relaxed SIMD build promising further gains.