Google has released a new beta version of its Chrome browser this week which is now integrated with Native Client, allowing C and C++ code to be seamlessly executed inside the browser with security restrictions similar to JavaScript.
Developers can use the open-source technology Native Client SDK to build web applications that seamlessly execute native compiled code inside the browser using the provided set of APIs.

Enhanced Performance and Security
Google explains:
“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.”
The integration of Native Client into Chrome is a significant step forward in web application development. By allowing C and C++ code to run within the browser, developers can create more complex and performance-intensive applications that were previously not feasible with JavaScript alone. This opens up new possibilities for web-based games, scientific simulations, and other applications that require high computational power.
Moreover, Native Client ensures that these applications run securely. It uses a sandboxing technique to isolate the native code from the rest of the system, similar to how JavaScript is handled. This means that even if there is a vulnerability in the native code, it cannot affect the user’s system outside the browser environment.
New Web Audio API
Other new features in the new Chrome beta release also include a newly added Web Audio API, a new JavaScript API offering advanced audio capabilities.
The Web Audio API is designed to provide developers with the tools they need to create complex audio processing and synthesis directly in the browser. This includes features such as spatial audio, which can simulate 3D sound environments, and real-time audio effects like reverb and delay. These capabilities are particularly useful for developers of interactive applications, such as games and educational tools, where high-quality audio can significantly enhance the user experience.
For example, a developer creating an online music production tool can use the Web Audio API to implement features like virtual instruments, audio mixing, and effects processing. This allows users to create and manipulate audio in real-time, directly within their browser, without the need for additional software.
In addition to these major updates, the new Chrome beta also includes various performance improvements and bug fixes. These enhancements ensure that the browser remains fast, reliable, and secure, providing a better overall experience for users and developers alike.
The release of this new beta version of Chrome demonstrates Google’s commitment to pushing the boundaries of what is possible with web technologies. By integrating Native Client and the Web Audio API, Google is providing developers with powerful new tools to create the next generation of web applications. This not only benefits developers but also users, who can look forward to more sophisticated and engaging web experiences.
Source: Google
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.