Feeds

Google Chrome beta turns on native code machine

Native Client in the chute

Maximizing your infrastructure through virtualization

With its latest Chrome beta, Google has turned on Native Client, its rather bold effort to securely run native applications inside the browser.

This means that Native Client is slated to make its official debut with Chrome 14 in September.

In a recent interview with The Register, Google vice president of engineering Linus Upson said that initially, Chrome will run only Native Client–based applications distributed through the company's Chrome Web Store. Through the store, Google will ensure that developers offer versions of their applications for both x86 and ARM, the two processor instruction sets currently supported by Native Client.

Native Client allows Chrome to execute C and C++ with security restrictions that are, according to Google, similar to what you get with JavaScript. The technology is designed to run games and certain other browser applications at speeds that exceed the capabilities of today's JavaScript.

"While the [Chrome] team has made JavaScript tremendously faster over the last two years, there's a lot of applications out there that have existing audiences that are [written in native code, such as C and C++], and there are a few that are specialized applications that need every last bit of performance the hardware can offer. Native Client is a way of addressing both those issues," Upson has told us in the past.

Google has also built a new cross-platform plug-in API known as Pepper, which can provide C and C++ bindings to the capabilities of JavaScript and HTML5, bridging the gap between Native Client and the browser proper. Pepper is already used with the Adobe Flash player that Google integrated with Chrome last year.

Mozilla and Opera have both expressed reservations about Native Client, saying it undermines the web's simple, contained, cross-platform programming model. But Google is answering these criticisms with a new version of Native Client that can run across all processors. Portable Native Client – or PNaCl, pronounced "pinnacle" — compiles C, C++, and other languages into the Low Level Virtual Machine (LLVM) bitcode format, which allows for client-side translation into the client's native instruction set.

This will not be ready in time for Chrome 14, and Google indicates that the existing incarnation of PNaCl is slower that the original Native Client. But Upson told us that when released, PNaCl will offer speeds comparable to JavaScript. ®

Reducing security risks from open source software

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.