Google Enables Developers to Connect C Code to HTML5
Google has just added native client (NaCl) support in Chrome 14 beta, which enables developers to leverage C and C++ interfaces for their web applications.
NaCl is integrated as a sandboxing technology, which allows the browser to safely execute platform independent and untrusted code without being a threat to the browser itself, even if the software may be harmful.
NaCl was integrated for the first time in Chrome 5 behind a flag and is enabled via Pepper, a collection of APIs that can connect C and C++ code to modern websites that run HTML5 technologies. "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," Google said.