4 ms·
Please add an option for JRE in the browser - JRE compiled to JavaScript or WASM (like CheerpJ or TeaVM).
by jeffreportmill1 7y ago
Please add an option for JRE in the browser - JRE compiled to JavaScript or WASM (like CheerpJ or TeaVM).
- rjsw 7y agoDon't see the point in this unless someone were to write a HotSpot backend that generated WASM.
- microcolonel 7y agoSeems maybe strange to run a JIT on a JIT. There are some smaller JVMs that likely wouldn't need to be that different, but running HotSpot on WASM, particularly in the browser, seems strange. Why not compile your classes to WASM instead?
- richdougherty 7y agoJava would work ok with AOT compilation. The major thing missing for running Java and many other languages on WASM would be garbage collection. https://github.com/WebAssembly/gc/blob/master/proposals/gc/Overview.md https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...