NumPy im Browser: OpenBLAS macht Matrizen bis zu 65-mal schneller
Faster NumPy in the Browser

Emscripten-forge hat NumPy mit OpenBLAS in WebAssembly verknüpft. Statt langsamer C-Schleifen beschleunigt nun WASM-SIMD die Lineare Algebra: Bei n=1024 erreicht np.matmul etwa 30,92× (float32) und 14,90× (float64) gegenüber der No-BLAS-Basis. OpenBLAS 0.3.35 legt per GEMV-Kernel noch einmal nach, optional mit Relaxed SIMD – dann sind bis zu 64,89× (float32) drin.
Ohne BLAS sinkt der np.matmul-Durchsatz mit n (naives GEMM, Cache-Misses). Mit OpenBLAS 0.3.34 steigt er mit n.