5 ms·
Slightly off topic what would people recommend to use to compile Java to wasm? Is what’s currently available still fairly experimental?
by mwaitjmp 4y ago
Slightly off topic what would people recommend to use to compile Java to wasm? Is what’s currently available still fairly experimental?
- szundi 4y agoI would love to save our swing app to the browser haha
- easrng 4y agoCheerpj can do that, though it's slow and I'm not sure what the license is.
- dagipflihax0r 4y agoThat would require garbage collection support, no? To me (very limited) knowledge, supporting gc in WASM is being worked on but not there yet.
- jackdaniel 4y agolibgc in its pre-release branch works fine with Emscripten.
- yarg 4y agoGraal has an LLVM back-end: https://www.graalvm.org/22.1/reference-manual/native-image/LLVMBackend/ https://www.graalvm.org/22.1/reference-manual/native-image/L... Then use the WASM back-end for LLVM. Probably won't work though.
- kaba0 4y agoI believe both TeaVM and Google’s J2CL library have experimental support for targeting wasm.