原创文章,转载请注明出处:服务器非业余研究http://blog.csdn.net/erlib 作者Sunface
什么是Native Client?
Native Client is a sandbox for running compiled C and C++ code in the browser efficiently and securely, independent of the user's operating system. Portable Native Client extends that technology with architecture independence, letting developers compile their code once to run in any website and on any architecture.
NC是一个操作系统无关的沙盒,可以在浏览器中安全、有效率运行已编译的C和C++代码。可移植NC在此基础上增加了架构无关的特性,可移植NC可以让用户的代码在任何架构任何浏览器上运行。
In short, Native Client brings the performance and low-level control of native code to modern web browsers, without sacrificing the security and portability of the web. Watch the video below for an overview of Native Client, including its goals, how it works, and how Portable Native Client lets developers run native compiled code on the web.
简单来说,NC为现在为网络浏览器的本地代码(native code)带来了高性能和低层次的控制,而且不需要牺牲安全和移植性。