C++ Everywhere with WebAssembly
summary
Shows that you can bind C++17 to HTML5 and run the same ABI on browser and server by compiling to WebAssembly with Emscripten and the nxxm toolchain, including a demo framework named Bellevue and a build command called xm that compiles C++ embedded in HTML. Claims portable native performance with the same module on Node.js and browsers, notes pthreads depend on SharedArrayBuffer (disabled in many browsers), and reports JS callbacks about two times faster but C++ twice as stable under heavy GC in live benchmarks.
AI-written summary · about
chapters (8)
- 0:00Introduction and welcome
- 1:07What is WebAssembly
- 8:06WebAssembly module structure
- 14:49WebAssembly memory and runtime
- 22:13C++ in the browser with Bellevue
- 27:15WebAssembly performance benchmark
- 30:27WebAssembly for web services
- 31:10Summary and future of WebAssembly
related talks
39mBringing the power of C++ to the web
52mWebAssembly: Taking Your C++ and Going Places
28mWebAssembly: Of Portability, and Performance
35mWebAssembly: now web is a new compiler target architecture
57mC++ on the Web: Let's have some serious fun.
26mWebAssembly as cross-platform architecture?!
44mWebAssembly
23mA Love Story Between JavaScript and C++
