A conference talk covering two complementary GraalVM and WebAssembly integration stories. First, GraalWasm — a WebAssembly runtime embeddable in JVM applications — is demonstrated by integrating a Rust image-processing library (Photon) into a Micronaut microservice compiled to native image with GraalVM, achieving near-native performance with JIT compilation and full cross-language debugging support in IntelliJ and VS Code. Second, the experimental 'Web Image' feature is introduced, which compiles JVM bytecode to WebAssembly using the native image pipeline with a Wasm backend, enabling Java applications like the Java compiler (javac) and Spring Shell to run in the browser. Current limitations include no threading, networking, or WASI support, but the feature is open source and already useful for client-side deployments.

49m watch time

Sort: