Google Brings C and C++ Native Execution to Chrome Browser

Submitted by lalit on August 15, 2011 - 6:16pm.

All web browsers are designed to run web technologies like HTML, Java, JavaScript and other, but can’t support execution of C or C++ code that could enable more desktop like applications for the browser. Google is changing that by adding new feature called Native Client to Chrome, which would allow developers to build more powerful and immersive apps and games for the web.

Native Client allows C and C++ code to be seamlessly executed inside the browser with security restrictions similar to JavaScript. Native Client apps use Pepper, a set of interfaces that provide C and C++ bindings to the capabilities of HTML5. As a result, developers can now leverage their native code libraries and expertise to deliver portable, high performance web apps.

Another new feature that Google has added to new Chrome Beta is the Web Audio API, a new JavaScript API offering advanced audio capabilities. The Web Audio API supports audio effects such as room simulation and spatialization, allowing web developers to create even more interactive experiences and games.

Both the above mention features are current only available to Chrome beta testers, but should be released soon in a stable Chrome release.