Are these things intrinsic to OCaml on wasm, or just growing pains? It’s all pretty new so I can imagine there might be lots of stuff that while painful now might be smoothed out as the tooling matures.
Both. As you point out, the whole platform is pretty new. However, OCaml is more painful at the moment than some more “main stream” languages which support the WASM component model. This is essentially an IDL for WASM interop. As far as I’m aware, nobody has attempted to create OCaml tooling for this.
Clearly we need to redesign wasm
Or maybe we need a faster and more portable compilation target. python_of_ocaml? sh_of_ocaml? ![]()