Hacker News new | ask | show | jobs
by k__ 3129 days ago
https://github.com/sebmarkbage/ocamlrun-wasm

reason == ocaml

1 comments

Yes, but a byte code interpreter ported to wasm via emscripten != a compiler with a WASM backend.
Isn't the stuff that comes out of the OCaml compiler byte code?

As far as I can tell, OCaml has a GC and WASM (at the moment) doesn't so this seems like the only viable solution to me.

OCaml also has a native x86 backend, which produces quite efficient code.