~/talk

The Future of Write Once, Run Anywhere: From Java to WebAssembly

Talkat Wasm I/O 2025 · 2025-03-27..03-28· [webassembly]
links:none on file
slides:none on file

GraalVM Native Image gains a WebAssembly backend that compiles Java bytecode into Wasm modules targeting the Wasm GC proposal and producing a runnable JS binding; a live demo compiles javac in the browser and then builds a Wasm module with the backend in 6.3 seconds. Output size for hello world is about 1 MB → 300 KB after opt/compression. Java<->JS objects interoperate via shared Wasm GC structs, filesystem is an in-memory filesystem, threading/networking are unsupported and will throw, binarian assembles the final binary, and the feature ships as an Oracle GraalVM EA build (JDK25) with planned upstream contribution.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Demo
  3. 4:00How it works
  4. 10:08Type Hierarchy
  5. 13:15Type Checks
  6. 15:40Why WebAssembly
  7. 19:39VS Code
  8. 26:25Wrap Up
  9. 27:35Java C Demo
  10. 28:11QA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.