GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
|Session Name:||Compiling to the Web: Getting Started With asm.js and Emscripten (Presented by Mozilla)|
|Speaker(s):||Luke Wagner, Alon Zakai|
|Company Name(s):||Mozilla, Mozilla|
|Track / Format:||Programming|
Did you know free users get access to 30% of content from the last 2 years?
|Overview:||Compiling code to run on the web is pretty easy these days! In this talk we'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. We'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.|