Re:The Python scientific stack, compiled to WebAssembly
by mdboom on Tuesday August 28, 2018 @01:43PM
(#17860951)
Actually, Numpy-using-code is closer to native speeds than pure Python is.
The thing that seems to cause a greater gap between wasm and native speeds is lots of Python-level function calls, not the tight C loops that make up much of Numpy.
The thing that seems to cause a greater gap between wasm and native speeds is lots of Python-level function calls, not the tight C loops that make up much of Numpy.