After reading Safer than ActiveX: a look at Google’s Native Client plugin from ArsTechnica I finally understand where Google is headed and how they plan on taking over the world.
From the article…
The Native Client framework consists of trusted and untrusted modules that run in their own individual processes and communicate through an RPC system. Third-party untrusted modules contain application-specific programming and leverage the Native Client container to interact with trusted modules that perform any activities which impact the underlying platform, including networking operations and file system access. The container will impose security constraints on the behavior of the third-party code and will also give users granular control over the permissions granted to third-party code.
[...]
Google supplies a customized GCC build toolchain that can be used to compile portable binaries that are compatible with the Native Client infrastructure. This makes it extremely easy to port existing code. As a test, Google ported an H.264 encoder that is about 11,000 lines of conventional C code. To get the encoder to compile and run in Native Client, they only had to add approximately 20 lines of code and modify the Makefile. The resulting binaries are completely portable and can run without requiring recompilation on any operating system supported by the Native Client.
» Read more: Google’s plans for world domination became clear to me today