4 ms·
Not unless you want to compile the JVM to webassembly and load a it on every pageview.
by tyoverby 10y ago
Not unless you want to compile the JVM to webassembly and load a it on every pageview.
- binji 10y agoTeaVM[1] has an experimental WebAssembly backend that does something like this. Here's the recent Reddit thread[2]. [1] http://teavm.org/ http://teavm.org/ [2] https://www.reddit.com/r/programming/comments/5899ln/teavm_java_bytecode_to_js_adds_experimental/ https://www.reddit.com/r/programming/comments/5899ln/teavm_j...
- int_19h 10y agoYou just need an AOT compiler that targets wasm directly. AOT compilers already exist for Java and C# for various target architectures; this is just another one.