Bringing the power of C++ to the web
summary
C++ compiles to WebAssembly and runs in browsers using Emscripten with a small demo add function and a threaded example that actually interleaves output when run locally. WebAssembly performance sits between native and asmjs but threads + SIMD promise order-of-magnitude gains; threads remain experimental in many browsers. Tooling costs are real: generated glue can be ~260 KB, enabling exceptions adds ~40% size, and debugging relies on JavaScript source maps. Streaming compilation reduces startup latency and is supported via instantiateStreaming.
AI-written summary · about
chapters (7)
- 0:00Start
- 8:26WebAssembly System Interface (WASI)
- 9:03Applications
- 18:31Performance - JavaScript
- 27:32Threads
- 33:13Enable exceptions
- 34:13Debugging
related talks
52mWebAssembly: Taking Your C++ and Going Places
29mWebAssembly - the Final Frontier
16mWhy WebAssembly
35mWebAssembly: now web is a new compiler target architecture
28mWebAssembly: Of Portability, and Performance
27mHow WebAssembly is changing the Web and what it means for you
42mWebAssembly? Web and Assembler? WTF!
30mHow WebAssembly is changing the Web and what it means for Angular
