Tuesday, February 22, 2011

NaCl: native code in Chrome

Google offers a new way to run applications in Chrome (browser) and potentially in Chrome OS: Native Client. Proposed as the NaCl, the SDK compatible with Chrome 10 in its beta version allows to run applications built with languages lows (and powerful) as C or C + +, without going through high-level languages like Javascript.

In practice, Google reinvents say Microsoft's ActiveX. NaCl is quite limited, applications running in a reserved memory area, without access to the system (principle of the sandbox) and through APIs to communicate with the browser. The idea is to allow applications to heavy computations on the CPU without using javascript (slow) and even - eventually - to access the graphics card, the sound card, etc..

For now still in testing, this system should eventually offer applications that run in a browser with performances close to the more conventional applications. For those wanting to try NaCl must activate it by typing "about: flags" in the address bar of Chrome 10 beta, of course, after you download it.

No comments:

Post a Comment