konsoletyper / teavm

Compiles Java bytecode to JavaScript, WebAssembly and C
https://teavm.org
Apache License 2.0
2.66k stars 265 forks source link

reference types #936

Open gkgoat1 opened 3 months ago

gkgoat1 commented 3 months ago

I am making an interface system for WASM which uses reference types (more specifically externref), and want to support TeaVM for JVM apps

konsoletyper commented 3 months ago

Right now TeaVM does not rely on GC spec or reference types, so I'm afraid it's barely possible. I'm working on alternative backend that targets GC spec, but it may take a while until I can present some working solution