WebAssembly: To the Browser and Beyond!
Agenda
Let’s talk about the Web Platform!
Is this really the most efficient model?
Challenges with JavaScript and the Web Platform
What is WebAssembly?
WebAssembly
WebAssembly’s design goals
What does it look like?
Can I use it today?
WebAssembly is:
How?
Loading WebAssembly in the browser
Wasm Markdown parser
lib.rs
wasm-bindgen
wasm-pack
Command line:
main.js
Side-by-side
Demo
Why?
squoosh.app
WebAssembly at eBay - A real-world use case
Use cases
Beyond the browser!
V8 isolates
Compute@Edge
Fastly Lucet
What does this enable?
WASI - WebAssembly System Interface
WASI - WebAssembly System Interface
Bytecode Alliance
Any code, anywhere, fast and secure
The future!
We’re only at the MVP stage of WebAssembly!
Interface types
Without interface types:
Interface types
Node WASI support
Other proposals
Frameworks
Takeaways
What have we learnt?
What can you do today?
The future is bright!