C++ on the Web: Let's have some serious fun.
summary
Shows how to compile and run real C++ in browsers using Emscripten and the new WebAssembly MVP, with examples using SDL/OpenGL (Angry Bots) and libraries like Box2D. Explains toolchain pieces (Clang/LLVM backend, Firefox Ion JIT), why WebAssembly binaries are much smaller than asm.js, and concrete sandbox techniques such as reserving a 4 GB address space to avoid most bounds checks. Notes deterministic floating point, indirect-call tables, and that zero‑cost exceptions, threads and dynamic libraries are planned but not yet in the MVP.
AI-written summary · about
chapters (11)
- 0:00Introduction to WebAssembly
- 2:48WebAssembly demo and status
- 9:24Using Emscripten with C++
- 10:46WebAssembly binary format
- 18:19WebAssembly stack machine
- 23:54Generated x64 code comparison
- 30:10WebAssembly modules and imports
- 37:42WebAssembly security sandboxing
- 40:08Undefined behavior in WebAssembly
- 42:16Future of WebAssembly features
- 43:01Q&A session
related talks
39mBringing the power of C++ to the web
52mWebAssembly: Taking Your C++ and Going Places
34mBack to the FUTURE! From C++ to JS
01h 14mC++ on the Web: Ponies for developers without pwn’ing users
30mHow WebAssembly is changing the Web and what it means for Angular
35mWebAssembly: now web is a new compiler target architecture
32mC++ Everywhere with WebAssembly
54mSandbox Games: Using WebAssembly and C++ to Make a Simple Game
