I've been looking for something similar recently... thinking about a wasm sorting algorithm... don't know if the overhead of converting the data to a binary representation for wasm to use and back would allow for any real gains...
thoughts? is this a fool's erand? i know it's not ready for production really w/o js fallback... ( and what docs do you reference when building out something like this? just emscripten and webassembly.org?
as result of this few my "test" project I can say that- wasm is good (yes wasm has hiden non-C-stadart "problems"(like threads or some sdt:: members work not same like in gcc)), wasm "2d drawing"(put pixels/draw rectangle/etc) is very slow, wasm "calculation sped" ~2x slower then java
this why I want see "how opengl good" in wasm, will see soon