Feeds

Mainstream Chrome spits ARM, Intel apps on the fly from cross-platform code

Architecture, smarchitecture ... Get .exe speed on the web

Combat fraud and increase customer satisfaction

Google has shipped the stable release of version 31 of its Chrome web browser, and with it the first generally available version of its Portable Native Client (PNaCl) compiled-code technology for the web.

First unveiled at the Google I/O developer conference earlier this year, PNaCl is an updated version of the Native Client (NaCl) technology that has been present in Chrome since 2011.

NaCl allows developers to write modules for sandboxed web apps in C/C++, rather than JavaScript. These compiled binary modules can then be downloaded by a user's web browser and executed on the local CPU, taking advantage of the full computational power of the user's PC.

Because NaCl modules are essentially binary executables, however, developers must build separate versions of them for each processor architecture, including 32-bit and 64-bit Intel chips, ARM, and so on.

PNaCl (pronounced "pinnacle") eliminates this problem by compiling the modules into an intermediary format instead of executable code, then having the browser complete the final compilation step for whichever architecture it's running on.

The tech is now available in the stable releases of Chrome for Windows, OS X, Linux, and Chrome Frame.

Google wouldn't mind seeing it show up in other browsers, too – it's open source – but don't hold your breath. The Mozilla Foundation, for one, has pooh-poohed the idea of browsers running native code since Google first floated it in 2010. Microsoft, on the other hand, has offered ActiveX as its own take on native code for the web for years now and isn't likely to change gears.

Developers who write PNaCl modules can still have their code run on non-Chrome browsers, however, by compiling them to JavaScript using the Emscripten compiler and Google's pepper.js library.

You can see some PNaCl code in action – both executing natively and via the browser's JavaScript interpreter – by visiting Google's examples gallery (though to run the native versions you'll need to be sure your copy of Chrome is up to date). ®

Combat fraud and increase customer satisfaction

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
Got Windows 8.1 Update yet? Get ready for YET ANOTHER ONE – rumor
Leaker claims big release due this fall as Microsoft herds us into the CLOUD
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.