Click here to Skip to main content
15,891,204 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsCompiling to JavaScript: What, Why, and How? Pin
Terrence Dorsey18-Nov-12 9:52
sitebuilderTerrence Dorsey18-Nov-12 9:52 
Scott Hanselman dubbed JavaScript the assembly language for the web and the number of compilers targeting JavaScript seems to confirm that statement. While there are many attempts at improving the JavaScript development experience through a different language, not all of them will be relevant to a game developer. In particular, you probably want to avoid one that will add overhead to the JavaScript virtual machine (VM) and slow it down. With that in mind, let’s take a look at some of the different approaches that are out there.
To make cool HTML5 games, all we really need is the JavaScript engine and the canvas element.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.