Java and Wasm: A 20‑Minute Browser Adventure
summary
Explains the recent changes in WebAssembly (WASM), WASI, and WAGI and why those changes matter for Java and Kotlin. Describes building a mini-JVM compiled to WASM to run Java directly in the browser, demonstrating practical use of these technologies.
AI-written summary · about
chapters (32)
- 0:00Introduction
- 1:11Talk overview
- 2:58Custom code in fetchers
- 3:41WASM basics
- 5:50WASM vs Java bytecode
- 7:58WASM memory
- 9:07ANTLR and WASM runtime
- 10:32WASM GC features
- 12:00WASM outside browser
- 12:23WASI and component model
- 15:14Java on GraalVM Polyglot
- 17:26Polyglot languages
- 18:12Custom code with WASM
- 19:42Web Containers
- 20:48Java to WASM
- 21:51Java reflection limits
- 23:59Kotlin WASM workarounds
- 27:12Reflection limits in WASM
- 28:38Component model and Native Image
- 29:43Native Image for WASM
- 31:10HotSpot JVM to WASM
- 34:46Chirp JVM
- 35:28Minecraft in browser
- 36:54Java VM alternatives
- 37:34Go and WASM demo
- 39:09C and WASM experiment
- 41:14Conclusions
- 42:18Q&A: VMs in WASM
- 47:24Q&A: Performance
- 50:14Q&A: Use cases
- 52:21Q&A: Reusing Java
- 53:24Closing
