GraalVM + Wasm: Fast, Efficient, Portable Apps
summary
GraalVM compiles JVM apps into Wasm with the new GraalVM Web Image preview and embeds Wasm modules in JVM apps via the GraalWasm runtime. Demo compiles a Rust image library to Wasm, integrates it into a Micronaut app compiled to native image (PGO startup ~71 ms), and sustains ~1,400 responses in 5s (~200 RPS) with 26–29 ms latency; IDE debugging steps from JavaScript into Rust Wasm frames. Current limits: no threading, networking, or native component model yet.
AI-written summary · about
chapters (10)
- 0:00GraalVM and WebAssembly intro
- 1:43What is WebAssembly
- 9:10WASM runtime for JVM
- 16:12Rust to WASM in Micronaut demo
- 20:09Debugging WASM in JVM
- 29:44GraalWASM benefits
- 32:55JVM bytecode to WASM
- 38:44GraalVM Web Image
- 43:45Conclusion
- 45:12Q&A JavaC and WASM
related talks
29mGraalVM: WebAssembly for the JVM Ecosystem
31mThe Future of Write Once, Run Anywhere: From Java to WebAssembly
50mWeb Assembly
44mWebAssembly and the Future of the JVM Ecosystem
35mTop 10 Things to Do with GraalVM
42mJava in the Cloud with GraalVM
43mDo things blazingly fast with WebAssembly
59mGraalVM: Run Programs Faster Anywhere
