Developers can now compile native C and C++ code to run in Chrome across different hardware architectures.
Google Barge: 10 Informative Images
(click image for larger view)
As part of its ongoing effort to make web apps perform as well as native apps, Google released Portable Native Client (PNaCl), a software framework that allows developers to compile native C and C++ code so that it can be embedded in and run from any website.
Native code can take advantage of CPUs and GPUs in a way that web applications still cannot to enable computationally demanding applications involving sophisticated graphics.
Portable Native Client, released Tuesday, differs from Google's Native Client (NaCl) technology in that it creates architecture-independent output. Where native code compiled with NaCl emerges tuned for a specific instruction set, like x86, ARM, or MIPS, programs compiled with PNaCl will run on any hardware platform. In other words, they work on mobile and desktop devices.
PNaCl compiles native code into an intermediate form. The resulting LLVM-bytecode then gets wrapped in a portable executable file that can be served from a website. "When the site is accessed, Chrome fetches and translates the portable executable into an architecture-specific machine code optimized directly for the underlying device," Google engineer David Sehr wrote in a blog post.
In the near term, PNaCl makes ChromeOS more competitive with OS X and Windows as computing environments suited to computationally demanding applications. Whether Google's technology will benefit the web in the years to come remains to be seen.
As for Apple and Microsoft, its hard to see either company going out of its way to help hasten adoption of Google's technology. If Google can encourage enough developers to create compelling PNaCl applications that draw consumers in droves, perhaps Apple and Microsoft will be forced to adapt. But don't hold your breath; it could take a while.
The App Developers Conference (ADC) is a new app developer event focusing on the very best development, UI, marketing, and the business of apps. It is happening along with GDC Next, the new developer event focusing on the creation of the game experiences of the future. Don't miss the debut of two events and one expo floor. ADC and GDC Next happen Nov. 5-7 at the Los Angeles Convention Center. Register today.
InformationWeek Elite 100Our data shows these innovators using digital technology in two key areas: providing better products and cutting costs. Almost half of them expect to introduce a new IT-led product this year, and 46% are using technology to make business processes more efficient.
Building a Mobile Business MindsetAmong 688 respondents to our Mobile Application Development Survey ó up from 350 respondents in 2012 ó 46% have deployed mobile apps, with an additional 24% planning to in the next year. Whatís the holdup for that remaining 30%? Often, itís a lack of expertise.
InformationWeek Must Reads Oct. 21, 2014InformationWeek's new Must Reads is a compendium of our best recent coverage of digital strategy. Learn why you should learn to embrace DevOps, how to avoid roadblocks for digital projects, what the five steps to API management are, and more.