Supercharge Your Java Apps with WebAssembly
summary
A Vert.x Java HTTP service called “cracker” loads WebAssembly (Wasm) plugins compiled from Rust, TinyGo, Go and Zig using the Extism SDK for Java, runs them on Wasmtime/Wasmer/Wazero runtimes, and hot-swaps plugins by changing environment variables. The talk demonstrates a working Java-to-Wasm demo, a Kubernetes deployment with a ~130 MB runtime image, and microbenchmarks (Fibonacci in nanoseconds) showing Rust and TinyGo outperform Java for compute-bound tasks but not for I/O-heavy workloads.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:09Why WebAssembly in Java
- 6:11Technical challenges and solutions
- 10:47Simplifying frameworks
- 13:13Live demo
- 18:37Performance and use cases
- 21:51WebAssembly nano-services
- 23:39Kubernetes deployment
- 27:40WebAssembly beyond browser
- 28:45Summary
related talks
34mGive super powers to Java with WebAssembly
28mWeb Assembly for Java Developers
44mWebAssembly and the Future of the JVM Ecosystem
35mModern Sandboxing: Using Web Assembly in Java
43mJava and WebAssembly
50mWeb Assembly
31mThe Future of Write Once, Run Anywhere: From Java to WebAssembly
50mWebAssembly and the Future of the JVM Ecosystem
