Thursday, March 28, 2024
Search
  
Monday, August 22, 2011
 Native Client Brings Sandboxed Native Code to Chrome Web Store Apps
You are sending an email that contains the article
and a private message for your recipient(s).
Your Name:
Your e-mail: * Required!
Recipient (e-mail): *
Subject: *
Introductory Message:
HTML/Text
(Photo: Yes/No)
(At the moment, only Text is allowed...)
 
Message Text: Google has released Native Client, which lets developers create web apps using their existing C and C++ code.

Native Client is now enabled for Chrome Web Store apps in Google Chrome?s beta channel.

"Native Client apps live on the web platform, so you don't need to create separate versions of your app for each operating system," said Christian Stefansen, Product Manager for Google Chrome. "Rather than relying on OS-specific APIs, Native Client apps use Pepper, a set of interfaces that provide C and C++ bindings to the capabilities of HTML5. This means that once you've ported your code to Native Client, it will work across different operating systems, and you only need to maintain one code base."

Today Native Client supports the Pepper APIs for 2D graphics, stereo audio, URL fetching, sandboxed local file access (File API), and asynchronous message passing to and from JavaScript. In future releases we will be adding support for hardware accelerated 3D graphics (OpenGL ES 2.0), fullscreen mode, networking (WebSockets and peer-to-peer connections), and much more. As new capabilities are added to HTML5 and Pepper, they will become available to Native Client, Google added.

To ensure that Native Client is as safe as JavaScript, Native Client code is isolated from the operating system by two nested security sandboxes: the Native Client sandbox and the Chrome sandbox. And unlike NPAPI plugins or ActiveX controls, Native Client apps do not have access to the underlying OS APIs.

Google encourages developers to start developing apps with Native Client. You can download the SDK and find tutorials, examples, API documentation, and aFAQ on Google's Native Client site. Once version 14 of Chrome hits stable channel, you'll be able to upload your Native Client apps to the Chrome Web Store, where you can reach Chrome?s 160 million users.

The next milestone for Native Client is architecture independence: Portable Native Client (PNaCl) will achieve this by using LLVM bitcode as the basis for the distribution format for Native Client content, translating it to the actual target instruction set before running. Until then the Chrome Web Store will be the only distribution channel for Native Client apps.
 
Home | News | All News | Reviews | Articles | Guides | Download | Expert Area | Forum | Site Info
Site best viewed at 1024x768+ - CDRINFO.COM 1998-2024 - All rights reserved -
Privacy policy - Contact Us .