Emscripten is an LLVM based project that compiles C and C++ into highly performant JavaScript in the asm.js format. In short: near native speeds, using C and C++, inside of the browser. Even better, emscripten converts OpenGL, a desktop graphics API, into WebGL, which is the web variant of that API, thereby allowing for high performance graphics within the browser.
You can find deeper tutorials on this topic at my blog, DaveVoyles.com
Topics Discussed
- [00:50] What is LLVM?
- [03:30] Why Now?
- [05:50] Ex: Gaming on the Web
- [05:45] asm.js Overview
- [06:55] Limitations
- [09:02] Why Do This?
- [12:43] Browser Support
- [13:15] Communicating between JS & C/C++
- [13:55] Benchmarks
- [16:37] Case Study: Owlchemy Labs
- [17:50] Driving the Point Home
@DaveVoyles

