Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the practical implementation of WebAssembly in production through a conference talk that delves into building a compiler for the Roc programming language as a web-based tool. Learn about WebAssembly basics, the challenges of porting to Wasm, and strategies for optimizing download size. Discover how to overcome Wasm limitations, utilize Web APIs, handle input/output, and manage JavaScript/Wasm interoperability. Gain insights into evaluating user-generated code and the overall architecture of a complex WebAssembly project deployed for real users.
Syllabus
Intro
WebAssembly Wasm basics
Roc Programming Language
Port to Wasm?
Demo: Online coding tools
How do they work?
Challenge: Download size
Challenge: Wasm limitations
Using Web APIs
Receiving input
JavaScript/Wasm interop
Displaying output
Evaluating the user's code
Summary
Outro
Taught by
GOTO Conferences