Translator: Ming Fei
The original link
Goodbye PNaCI and hello WebAssembly!
Once upon a time, running native code in our browsers relied on browser plug-ins. In 2013, we moved away from plug-ins and introduced the PNaCI sandbox to provide secure, portable, high-performance applications. While this works well in Chrome, not all browsers support it.
Since then, the Web community has consolidated around WebAssembly as a cross-browser solution for high-performance code. WebAssembly is efficient enough to build a video editor on the browser based on an existing Web platform API, or run a high frame rate Unity-developed game in the browser. Applications developed by WebAssembly can run on multiple browsers: Chrome and Firefox already support it, and Edge and Safari will support it in the next version of the browser.
Given the benefits of cross-browser support, we plan to focus our native code efforts on WebAssembly, and in q1 2018 we will remove support for PNaCl in addition to Chrome apps and extensions. We believe that the completion of the WebAssembly ecosystem will make both new and existing high-performance Web applications work better, and that the use of PNaCl has been small enough to be abandoned.
We recognize that technology migration can be challenging. To help ease the transition, we have prepared a set of recommendations for existing PNaCl implemented applications to migrate to the Web platform, as well as a functional roadmap for WebAssembly. As you embark on the migration process, please let us know if you encounter any problems so that we can help you move as smoothly as possible.
With the introduction of WebAssembly, the Web platform has laid the foundation for a new generation of fast web applications that run in any browser. We’re excited to see what the developers create in the future!