Lurker News
Had some fun with shared array buffers over many months of free time.

Skip to the end to play around with the final app.
Open to ideas on how to simulate more whilst staying in js land.

Comments (70) 25 threads

Show all comments

Showing thread 21 of 25

a-dub1 reply#
so when do we get WebBLAS and WebFORTRAN?

kinda joking, kinda not.

a-dub1 reply#
there's also numpy and scipy in the webassembly python distro (pyodide). but the "kinda not" part more refers to first class scientific/numerical computing support. it's possible, but the libraries are all disjoint or are webassembly ports, etc.
shakna1 reply#
Pyodide uses f2c for that, as mentioned in the link, but it isn't great, and barely works. You won't get the expected speed out of BLAS that way.

Which is why the flang port it's about is attempting to compile to the actual primitives.

a-dub1 reply#
i wonder if simd is working. that would be cool.
shakna1 reply#
If I understand the build process correctly... It should be on systems support WebAssemblySIMD, like Chrome's V8.
a-dub#
yes, but does it actually work end to end and actually deliver meaningful speedups that make it actually useful?