This looks extremely cool. Does this support (or plan to support) calling into the generated module from js, or calling external functions from OCaml?
I went ahead and made a minimal demo for browsers (copy-pasting the JavaScript from the repository plus a small wasi shim): GitHub - copy/wasicaml-demo
At the moment the jsoo version seems to be a bit faster and significantly smaller (not surprising considering this is still experimental). Still quite impressive, especially the fact that C code can be linked and works as expected.