Google Native Client
Google Native Client Developer(s) Google, others Preview release 1.0 / October 12, 2011 Development status Research Written in C++ Operating system Cross-platform: Microsoft Windows, Linux, Mac OS, Chrome OS Type Sandbox in web browsers for native code License New BSD license Website code.google.com/p/nativeclient
Google Native Client (NaCl in an allusion to sodium chloride or common salt) is a sandboxing technology for running a subset of Intel x86 or ARM native code using software-based fault isolation. Currently in development, it is proposed for safely running native code from a web browser, allowing web-based applications to run at near-native speeds, which aligns well with Google's plans about Chrome OS. It may also be used for securing browser plugins, and in the future parts of other applications or full applications.
Native Client is an open source project being developed by Google. To date, Quake, XaoS and MAME have been ported to Google Native Client Platform. Native Client was formerly available as an experimental disabled-by-default feature in the Google Chrome web browser. The feature is enabled from version 14 of Chrome; at the same time, uploading native applications to Chrome Web Store is expected to be enabled, which will be the only way to run native client applications under Chrome for the time being.
An ARM implementation was released in March 2010, and x86-64 is also supported. However, As of March 2011[update], all three implementations can only use code compiled to the host's native instruction set. PNaCl (Portable Native Client, pronounced: pinnacle) is being developed to address this issue. To run an application portably under PNaCl, it must be compiled to an architecture-agnostic version of the LLVM intermediate representation bytecode.
NaCl uses Software Fault Isolation for sandboxing on x86-64 and ARM. The x86-32 implementation of Native Client is notable for its novel sandboxing method which makes use of the x86 architecture's rarely-used segmentation facility. Native Client sets up x86 segments to restrict the memory range that the sandboxed code can access. It uses a code verifier to prevent use of unsafe instructions such as those that perform system calls. To prevent the code from jumping to an unsafe instruction hidden in the middle of a safe instruction, Native Client requires that all indirect jumps be jumps to the start of 32-byte-aligned blocks, and instructions are not allowed to straddle these blocks. Because of these constraints, C code must be recompiled to run under Native Client, which provides customised versions of the GNU toolchain, specifically gcc and binutils.
Native Client is licensed under a BSD-style license.
Since release 0.5, Native Client has a stable ABI. This roughly means that code compiled and running in the NaCl implementation of Google Chrome 14, will work in all future versions of Google Chrome.
Pepper API is a cross-platform, open-source API for creating Native Client modules. Pepper Plugin API, or PPAPI is a cross-platform API for Native Client-secured web browser plugins, first based on Netscape's NPAPI, then rewritten from scratch. It is currently an experimental feature of Chromium and Google Chrome (there is a Chrome experiment in chrome://flags to enable the PPAPI version of Flash), though the built-in PDF-viewer already uses it.
Some groups of browser developers support the Native Client technology, but others do not. This technology is controversial with x86 browser developers.
Detractors: Other IT professionals are more critical of this sandboxing technology as it has substantial or substantive interoperability issues.
Mozilla's vice president of products, Jay Sullivan said it has no intention to run native code inside the browser, as
- "These native apps are just little black boxes in a webpage. [...] We really believe in HTML, and this is where we want to focus."
Håkon Wium Lie, Opera's CTO believes that
- "NaCl seems to be 'yearning for the bad old days, before the web'", and that "Native Client is about building a new platform – or porting an old platform into the web [...] it will bring in complexity and security issues, and it will take away focus from the web platform."
Christopher Blizzard, Mozilla's Open Source evangelist fears that without the source code, the pace of innovation will slow, and compares NaCl to Microsoft's ActiveX technology, plagued with DLL hell. In his views, even if it's secure, Native Client isn't a good thing.
- ^ Efficient software-based fault isolation, Robert Wahbe, Steven Lucco, Thomas E. Anderson, Susan L. Graham, 1993
- ^ a b Native Client: A Technology for Running Native Code on the Web
- ^ a b c Cade Metz (2011-09-12). "Google Native Client: The web of the future – or the past?". The Register. http://www.theregister.co.uk/2011/09/12/google_native_client_from_all_sides/. Retrieved 2011-09-17.
- ^ Google Native Client on Google Code
- ^ The Chromium Blog: Native Client Brings Sandboxed Native Code to Chrome Web Store Apps
- ^ "Google's Native Client goes ARM and beyond". The H. 18 March 2010. http://www.h-online.com/open/news/item/Google-s-Native-Client-goes-ARM-and-beyond-957478.html. Retrieved 2010-05-19.
- ^ PNaCl: Portable Native Client Executables
- ^ David Sehr, Robert Muth, Cliff L. Biffle, Victor Khimenko, Egor Pasko, Bennet Yee, Karl Schimpf, Brad Chen (2010). "Adapting Software Fault Isolation to Contemporary CPU Architectures". 19th USENIX Security Symposium. http://research.google.com/pubs/pub35649.html. Retrieved July 31, 2011.
- ^ a b Bennet Yee, David Sehr, Greg Dardyk, Brad Chen, Robert Muth, Tavis Ormandy, Shiki Okasaka, Neha Narula, Nicholas Fullagar (2009). "Native Client: A Sandbox for Portable, Untrusted x86 Native Code". IEEE Symposium on Security and Privacy (Oakland'09). http://research.google.com/pubs/pub34913.html. Retrieved July 31, 2011.
- ^ NativeClient: Plash Wiki
- ^ Official NaCl Release Notes
- ^ Native Client SDK: Pepper C API
- ^ Pepper Plugin API project at code.google.com
- ^ Chrome Source: Index of /trunk/src/ppapi
- ^ The Register: Google hugs Adobe harder with Chrome-PDF merge
- ^ Chad Austin: In Defense of Language Democracy (Or: Why the Browser Needs a Virtual Machine)
- ^ The Register: Mozilla: Our browser will not run native code
- GoNaCl.Com (Native Client Developer Site)
- Google Native Client Project Page
- Google I/O 2009 Native Code for Compute Intensive Web Apps on YouTube - Technical talk at Google I/O 2009
- News4Geeks.net: Google Native Client: The web of the future – or the past? (a good overview)
- Native Client Gallery
- NACLBox, a port of DOSBox to Native Client
- SodaSynth, a synthesizer for Native Client
Google Inc. Executive Chairman: Eric Schmidt · Director/Technology President/Co-founder: Sergey Brin · CEO/Co-founder: Larry Page
Other directors: John Doerr · John L. Hennessy · Ann Mather · Paul Otellini · Ram Shriram · Shirley M. Tilghman · Senior Advisor: Al Gore
Advertising Communication Software Platforms Development tools Publishing Search (PageRank) Discontinued RelatedAcquisitions · AI Challenge · Bomb · Criticism · Doodles · Driverless car · Fiber · Foundation · Google China · Google Grants · Google.org · Googleplex · History · Hoaxes · Illegal flower tribute · I'm Feeling Lucky · I/O · Logo · Lunar X Prize · Monopoly City Streets · Products · Searchology · Unity · Ventures · WiFi Stock symbol: (NASDAQ: GOOG, NYSE: GOOG, FWB: GGQ1) · Motto: Don't be evil · Website: google.com
Wikimedia Foundation. 2010.
Look at other dictionaries:
Google Native Client — (NaCl en allusion au chlorure de sodium, soit le sel commun) est une technologie sandbox permettant l exécution d un sous ensemble de code natif virtualisé sur une architecture x86. C est un projet opensource qui donnera la possibilité aux… … Wikipédia en Français
Native Client — Разработчик … Википедия
Google Chrome — This article is about the web browser. For the operating system, see Google Chrome OS. Google Chrome … Wikipedia
Google Chrome — Для термина «Chrome» см. другие значения. Эта статья о браузере; об операционной системе см.: Google Chrome OS. Google Chrome … Википедия
Google Code — URL http://code.google.com Description Service de diffusion des codes sources de Google Commercial … Wikipédia en Français
Google Chrome OS — 0.13.587.135 Company / deve … Wikipedia
Google Maps — Screenshot of Google Maps showing a route from San Francisco to Los Angeles on Interstate 5 … Wikipedia
Google Cloud Print — is a Google service aiming to enable any application (web, desktop, mobile) on any device in the network cloud to print to any printer – without Google having to create and maintain printing subsystems for all the hardware combinations of… … Wikipedia
Google Analytics — Developer(s) Google Operating system Cross platform (web based application) … Wikipedia
Google Chrome — Entwickler Google Inc. (mehr) Aktuelle Version 15.0 (25. Oktober 2011) Betriebssystem … Deutsch Wikipedia