GraalVM: WebAssembly for the JVM Ecosystem
summary
GraalWasm is an embeddable JVM runtime (JARs on Maven Central) that implements WASM 2.0 and uses the Graal JIT to compile Wasm at runtime, demonstrated by running and DAP-debugging a Rust Photon image library inside a Spring Boot native-image binary that contains Spring, the runtime, and the Wasm module; the Web Image backend compiles JVM bytecode to Wasm in the demo in ~7.8s producing a ~1 MB hello world (optimizable to ~300–400 KB), currently requiring a JavaScript host (no full WASI or component model yet) and already running in MySQL HeatWave GraalWasm runtime GraalVM Web Image
AI-written summary · about
chapters (7)
- 0:00GraalVM and WebAssembly intro
- 2:29GraalWasm runtime for JVM
- 5:17Debugging WASM in JVM apps
- 9:13WASM in Spring Boot
- 16:19JVM to WASM compilation
- 19:56Running Java applications as WebAssembly
- 23:46Summary and future
related talks
49mGraalVM + Wasm: Fast, Efficient, Portable Apps
31mThe Future of Write Once, Run Anywhere: From Java to WebAssembly
44mWebAssembly and the Future of the JVM Ecosystem
43mJava and WebAssembly
50mWebAssembly and the Future of the JVM Ecosystem
30mSupercharge Your Java Apps with WebAssembly
50mWeb Assembly
02h 46mThe (wasm) Revolution Is Incredible Because It's Real
