Harnessing the power of WebAssembly
summary
Compiles a C program to WebAssembly with emcc (Emscripten) and serves the generated hello.wasm via an HTML/JS loader in Visual Studio Code and Live Server, then runs the same module in Node to prove browser and backend portability. Shows near‑native performance, sandboxed security, and practical size/startup claims: wasm modules measure several megabytes and start in milliseconds startup versus container images that can be hundreds of megabytes and take seconds. Cites real users (Figma, Autodesk, Unreal) and demonstrates the C-derived logic printing “hello KCD Sri Lanka,” which works end‑to‑end.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:28C in browser with WebAssembly
- 7:54What is WebAssembly
- 10:21Why WebAssembly is revolutionary
- 14:10WebAssembly ecosystem
- 15:16WebAssembly outside browsers
- 16:40WebAssembly vs Docker
- 19:35Integrating WebAssembly with Docker
- 20:39Real-world WebAssembly apps
- 21:22Summary
related talks
28mWebAssembly: Of Portability, and Performance
16mWhy WebAssembly
41mDemystifying WebAssembly, Through the Eyes of A Beginner
36mPractical WebAssembly
39mBringing the power of C++ to the web
27mHow WebAssembly is changing the Web and what it means for you
35mWebAssembly: now web is a new compiler target architecture
50mWeb Assembly
