Friday, May 17, 2013

Google launches Portable Native Client for cross-platform web apps

Google's Native Client software lets developers write web apps that act more like native desktop apps. For instance, Quake, DOOM, and DosBox have all been ported to run in the Chrome web browser using Native Client (NaCL).

Now Google has released a tool called Portable Native Client (PNaCL) which takes things a step further by adding cross-platform support for Chrome running on devices with ARM-based chips or 32-it or 64-bit x86 processors.

NaCL Tetris

Right now if you want to run an app developed using PNaCL, you'll need Chrome 29 or later, and you'll have to enable the –enable-pnacl and/or –enable-nacl flags. But eventually Google is expected to let users run Native Client apps in future versions of Chrome using the default settings.

That'll be true both for apps that you install from the Chrome Web Store, or for web apps that aren't distributed through Google's store.

The upshot is that you'll be able to run apps written in C and C++ in a web browser that'll be just about as fast as software you download and install on your PC. But Google sandboxes the code as it runs to help ensure you won't accidentally load malware onto your computer when running one of these web apps.

Developers can write those apps using C and C++ th esame way they do

Part of what makes PNaCL special is its support for a range of different processor architectures today. What makes it even more special is that it's designed to work with future architectures as well, so developers can theoretically create apps today and not have to worry about rewriting them the next time a new processor technology hits the market.

via TechCrunch

 

Google launches Portable Native Client for cross-platform web apps is a post from: Liliputing