> We need a serious functional language that compiles to WASM.
Aren't there already a few? OCaml?
What's "serious" in this context?
Aren't there already a few? OCaml?
What's "serious" in this context?
I read somewhere that an OCaml to LLVM compiler was attempted, but people had problems with the GC aspect. I don’t know if this claim is true, though.
It compiles to wasm object files and links files with LLVM's LLD. My current challenge is ensuring that the stdlib correctly translates to wasm. The C parts are not translated yet - which means: no gc, no exceptions, no tail calls.
I was thinking of the same, but I hadn't/haven't used it so you may be right it never came to fruition.