Meet Chicory, exploit the power of WebAssembly on the server side!
summary
A pure Java Wasm interpreter called Chicory runs Wasm modules with zero external dependencies, loads user-uploaded .wasm files into a Spring Boot app, creates instances, calls exported functions and returns typed results; examples include TinyGo-compiled functions returning 8 for 5+3, running a Wasm CLI inside the JVM, compiling Opa policies to policy.wasm for per-request authorization, and even running Doom; integration respects thread interrupts and offers an experimental Naot path while inspired by wazero design.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 1:09What is WebAssembly
- 4:00WebAssembly sandboxing and security
- 7:15Why WebAssembly is fast
- 8:39Where WebAssembly is used
- 9:44Building extensions with WebAssembly
- 10:48Compiling to WebAssembly
- 11:32Introducing Chicory runtime
- 13:22Demo: Uploading a WebAssembly module
- 16:00Demo: Computing with WebAssembly
- 17:30Running WebAssembly CLI tools
- 21:31Authorization with Open Policy Agent
- 23:40Demo: Custom authorization in Spring
- 27:17Gaming and other use cases
- 28:43Conclusion and resources








