Compiling to the Web with Emscripten and ASM.js - by Luke Wagner of Mozilla


Details
In this talk I'll explain through concrete examples how you can use the open source Emscripten compiler to convert your C/C++ codebase to asm.js and run it in modern web browsers. I'll focus on common porting-related issues (event loop, rendering, etc.) and how best to handle them. This talk will also explain how asm.js is designed to be reliably compiled to efficient machine code using classic compiler techniques and why asm.js is a competitive approach to safe native-code execution.
Slides: http://people.mozilla.org/~lwagner/meetup-pres
Bio:Luke Wagner has worked at Mozilla on the JavaScript engine for 4 years. During that time he has been involved in performance, profiling, asm.js and developer tools. Luke is a big fan of the Open Web (although he would rather that the arguments object, direct eval, with, function.caller, the global object, and proto did not exist).


Compiling to the Web with Emscripten and ASM.js - by Luke Wagner of Mozilla