Chrome Native Client: write C++ apps against HTML5 APIs
Quoting “Native Client Brings Sandboxed Native Code to Chrome Web Store Apps” by Christian Stefansen on the Chromium Blog:
Wouldn’t it be great if you could create web apps using your existing C and C++ code? Native Client lets you do just that, and it is now enabled for Chrome Web Store apps in Google Chrome’s beta channel.
Rather than relying on OS-specific APIs, Native Client apps use Pepper, a set of interfaces that provide C and C++ bindings to the capabilities of HTML5.
The next milestone for Native Client is architecture independence: Portable Native Client (PNaCl) will achieve this by using LLVM bitcode as the basis for the distribution format for Native Client content, translating it to the actual target instruction set before running.
having become quite fast, there is not much of a need for it, any more. But it is an intriguing way of writing C++ apps, isn’t it?