Has anyone here experimented with translating Java bytecode to Wasm for use in non-browser contexts (e.g. WASI)?
I've done a bit of research and experimentation on this myself recently, culminating in a simple proof-of-concept using TeaVM. I'm planning to expand that into something that supports some or all of WASI, but I thought I'd ask here in case others are working on something similar (or know of someone who is). And if you're not yet working on such a thing but would like to help, let me know!
I would love to see java compile to Wasm. I recommend checking in with GraalVM for Wasm and WASI collaborators.
This appears to be the relevant issue: https://github.com/oracle/graal/issues/3391
For those who are interested, here's what I've done so far: https://github.com/konsoletyper/teavm/pull/610
Last updated: Nov 22 2024 at 17:03 UTC