website icon indicating copy to clipboard operation
website copied to clipboard

language support: JVM bytecode, for Java and other JVM targetting langs

Open zenaan opened this issue 5 years ago • 2 comments

Add support for Java and other languages which target the JVM, by supporting JVM bytecode in WebAssembly, perhaps by compiling Java byte code to WebAssembly, thereby supporting all languages supported by the JVM.

Dependency: WebAssembly runtime GC/ garbage collection support, which is presently in development and/ or being explored.

zenaan avatar Jul 27 '20 08:07 zenaan

There are already a few compilers that do this. TeaVM compiles Java bytecode to WebAssembly.

jarble avatar Sep 08 '20 20:09 jarble

Now, about three years after the last comment, I've had a look at TeaVM. On their website they speak of transpiling code to JavaScript, but not to WebAssembly. Am I mistaken?

mimarox avatar Aug 18 '23 05:08 mimarox