The JVM Meets WASI: Writing Cloud-Friendly Wasm Apps Using Java and Friends
summary
Shows how to produce WASI WebAssembly from Java/Kotlin bytecode using TeaVM, then run it with a Wasm runtime for strong sandboxing and fast cold starts. Presents a TVM-wazzy fork plus generated Java bindings (wit-bindgen) and benchmarks: OpenJDK wins raw throughput, but TVM+wasmtime is competitive once sandboxing is required. Demonstrates a working Spin app that loads a file-backed English→Spanish dictionary, serves HTTP, and deploys to Fermion Cloud, with the demo and repos linked for code, benchmarks, and binding generator.
AI-written summary · about
chapters (9)
- 0:00Start
- 1:00A Polyglot Vision for WebAssembly
- 4:08Concepts & Tools: Java Bytecode
- 5:11Concepts & Tools: WebAssembly
- 6:44TeaVM-WASI and wit-bindgen
- 8:34When to prefer the JVM
- 12:21Performance
- 15:29Limitations
- 17:13Next Steps
related talks
28mWeb Assembly for Java Developers
30mSupercharge Your Java Apps with WebAssembly
44mWebAssembly and the Future of the JVM Ecosystem
43mJava and WebAssembly
50mWeb Assembly
34mGive super powers to Java with WebAssembly
45mWasmer Things: An Upside-Down Guide to WebAssembly
50mWebAssembly and the Future of the JVM Ecosystem
