Re:WasmGC – Run GC languages such as Kotlin, Java in Chrome ...
by omginternets on Thursday November 02, 2023 @11:06AM
(#38114518)
Seems like a bad thing? Why are there two separate workstreams?
[ Parent
| on HN ]
Re:WasmGC – Run GC languages such as Kotlin, Java in Chrome ...
by frou_dh on Thursday November 02, 2023 @11:11AM
(#38114617)
Maybe adapting the existing js_of_ocaml project is comparatively easier so they might as well try it.
Re:WasmGC – Run GC languages such as Kotlin, Java in Chrome ...
by lambda_foo on Thursday November 02, 2023 @05:34PM
(#38120507)
There is a pretty complete wasm_of_ocaml port to the Eliom web framework here https://github.com/ocsigen/eliom/pull/767
It seems like it’s a relatively easy swap from js_of_ocaml to WASM. That’s the option I’ve chosen for my experiments.
Re:WasmGC – Run GC languages such as Kotlin, Java in Chrome ...
by giraffe_lady on Thursday November 02, 2023 @02:14PM
(#38117765)
It's the ocaml way.
Re:WasmGC – Run GC languages such as Kotlin, Java in Chrome ...
by lambda_foo on Thursday November 02, 2023 @05:30PM
(#38120452)
They are targeting two different intermediate representations in the compiler. wasm_of_ocaml is a fork of js_of_ocaml that consumes OCaml bytecode and emits Wasm instead of JavaScript. Compared to wasocaml that uses the FLambda-based backend for OCaml’s native code compiler.
Time will tell if both survive, they are both under active development. IMHO target different use cases.