News for hackers. Stuff that matters.
Re:Libgraal: GraalVM compiler as a precompiled GraalVM nativ... by pron on Tuesday July 16, 2019 @05:25PM (#20454044)
I'm not sure it would be either. JS has a good JIT that Java code can significantly benefit from (much more than, say, C) -- WASM doesn't, so compiling to JS could actually be faster; JS also has a GC and WASM doesn't, which means that the image must contain a GC, making it larger, not smaller. Either way, it's speculation, but I don't think it's obvious that compiling Java bytecode to WASM is preferable to compiling it to JS, but maybe the TeaVM maintainers can share their experience.

There are no comments on this comment yet.