Haskell WebAssembly in the Browser
joeyh.name
joeyh.name
https://alexander-barth.github.io/FluidSimDemo-WebAssembly/
But here the wasm code does only the number crunching. The visualization (and memory allocation) is all done in javascript.
I tried getting it going on my stream a couple times but failed to get the shim going!
Can’t wait to dive into this!
Well done!
This is also assuming you're running the WebAssembly in the browser. If you're running it in something like WASI, you might have access to a raw socket API and then maybe it's a different story.
I do not want to steal your greatness when you port basic JS APIs to Haskell WASM.
Or that of WASI work, when we no longer need to use raw JS API.