Hacker News new | ask | show | jobs
by stewbrew 3133 days ago
Yes, but a byte code interpreter ported to wasm via emscripten != a compiler with a WASM backend.
1 comments

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.