Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
October 1, 2014
arrowPress Releases
October 1, 2014
PR Newswire
View All





If you enjoy reading this site, you might also want to check out these UBM Tech sites:


Google launches next step for Native Code in Chrome
Google launches next step for Native Code in Chrome
November 13, 2013 | By Mike Rose

November 13, 2013 | By Mike Rose
Comments
    6 comments
More: Console/PC, Social/Online, Indie, Business/Marketing



Google today announced the Portable Native client, a new version of its NaCl technology that it says can help developers bring high performance games and apps to the Chrome web browser.

Utilizing PNaCl (pronounced 'pinnacle,' according to Google's David Sehr), developers can now compile native code just once, and see their game then running embedded in any website.

This new "portable" version works through the compiling of native C and C++ code to an intermediate representation, rather than architecture-specific representations as in the standard Native Client tech.

At launch, PNaCl only works with Chrome web browsers -- but Google notes that developers can use the Pepper API from Javascript to get games working in other browsers too. More details can be on the Chrome blog.

Supergiant Games' indie hit Bastion was one of the first games to utilize the Chrome native client to launch in a web browser.


Related Jobs

Raven Software / Activision
Raven Software / Activision — Madison, Wisconsin, United States
[10.01.14]

UI Lead - Raven
Infinity Ward / Activision
Infinity Ward / Activision — Woodland Hills, California, United States
[10.01.14]

Senior Game Designer - Infinity Ward
Infinity Ward / Activision
Infinity Ward / Activision — Woodland Hills, California, United States
[10.01.14]

Senior AI Engineer - Infinity Ward
Infinity Ward / Activision
Infinity Ward / Activision — Woodland Hills, California, United States
[10.01.14]

Gameplay Animation Engineer - Infinity Ward










Comments


Hugo Cardoso
profile image
This certainly seems more interesting than HTML5 games, does it really only require Chrome? So can you play Bastion through Chrome on a Tablet?

Looking forward to this Sodium Chloride technology!

Mihai Cozma
profile image
I think it needs Chrome or some derivation of it like Chromium and other variations.

Edgar Harris
profile image
This is exactly what I would like to see from browsers. Since it compiles to an intermediate language, I suspect that means that support for other languages can be added. That's such a better answer than forcing developers to code in JavaScript. Here's hoping this takes off.

Martin Best
profile image
There is a technology called asm.js, it's already being optimized for in both Firefox and Chrome. So it's not a single browser technology as pNaCl is. Worth a look if you are interested in this tech. It's also backwards compatible which makes it a lot cooler. We used it to port the Unreal Engine to the web. You can try it out in the latest version of Firefox or Chrome here: http://www.unrealengine.com/html5/.

Martin Best
profile image
You can get the cross compiler that lets you take C++ code and convert it to asm.js that runs at near native speeds here: https://github.com/kripken/emscripten

Martin Best
profile image
Part of pNaCL actually sits on top of asm.js in order to work in other browsers which shows you it's reach. It's not a bad idea to check it out and go right to the source to get the most out of your code.


none
 
Comment: