Back to the FUTURE! From C++ to JS
summary
Claim: compile real C/C++ into WebAssembly and run it inside modern JS frameworks with practical results. Uses Emscripten to produce .wasm and a runtime .js, tests with Node and a Python simple HTTP server, and links native SDL/OpenGL code into the browser. Built a Hello World and a rotating color cube from 1997 that runs in Chrome and as an Angular component, solves name mangling with extern "C", and shows measurable performance gains versus plain JS while not replacing JavaScript.
AI-written summary Β· about
chapters (12)
- 0:00Introduction
- 1:58Combining C++ with web frameworks
- 5:15WebAssembly and Emscripten
- 9:14C++ to JS Hello World demo
- 12:05Old C++ graphics in browser
- 16:28C++ to JS communication challenges
- 20:23C++ graphics in browser
- 23:04WebAssembly with Angular
- 27:01WebAssembly performance benefits
- 29:13Final C++ in Angular demo
- 32:55Future of JS and WebAssembly
- 33:37Q&A
related talks
23mA Love Story Between JavaScript and C++
28mWebAssembly: Of Portability, and Performance
22mHarnessing the power of WebAssembly
57mC++ on the Web: Let's have some serious fun.
29mWebAssembly - the Final Frontier
42mWebAssembly? Web and Assembler? WTF!
39mBringing the power of C++ to the web
52mWebAssembly: Taking Your C++ and Going Places
