| OLD | NEW |
| (Empty) | |
| 1 .. _migration: |
| 2 |
| 3 (P)NaCl Migration Guide |
| 4 ======================= |
| 5 |
| 6 Deprecation Announcements |
| 7 ------------------------- |
| 8 |
| 9 We recently announced the deprecation of Portable NativeClient |
| 10 as well as the deprecation of |
| 11 `Chrome Apps |
| 12 <https://blog.chromium.org/2016/08/from-chrome-apps-to-web.html>`_ |
| 13 outside of ChromeOS. |
| 14 As a result, in the near future, PNaCl will no longer be supported in Chrome. |
| 15 And NaCl will be supported only in the context of ChromeOS and Extensions. |
| 16 |
| 17 We appreciate the investment you've made bringing native code to the Web |
| 18 with these pioneering solutions, but have now refocused our efforts |
| 19 on the cross browser `WebAssembly <http://webassembly.org>`_ standard |
| 20 in order to bring similar functionality to the Web in general. |
| 21 While WebAssembly currently cannot match all of (P)NaCl's capabilities, |
| 22 we are working to expand its capabilities in tandem with other |
| 23 browsers, and believe most use cases will soon be covered. |
| 24 |
| 25 |
| 26 Toolchain Migration |
| 27 ------------------- |
| 28 |
| 29 For the majority of (P)NaCl uses cases we recommend transitioning |
| 30 from the NaCl SDK to `Emscripten |
| 31 <http://webassembly.org/getting-started/developers-guide/>`_. |
| 32 While direct support for NaCl / Pepper APIs in not available, |
| 33 we've attempted to list equivalents. |
| 34 Migration is likely to be reasonably straightforward |
| 35 if your application is portable to Linux, uses SDL, or POSIX APIs. |
| 36 For more challenging porting cases, please reach out on |
| 37 native-client-discuss@googlegroups.com |
| 38 |
| 39 |
| 40 API Migration |
| 41 ------------- |
| 42 |
| 43 We've outlined here the status of Web Platform substitutes for each |
| 44 of the APIs exposed to (P)NaCl. |
| 45 Additionally, the table lists the library or option in Emscripten |
| 46 that offers the closest substitute. |
| 47 |
| 48 We expect to add shared memory threads support to WebAssembly in 2017, |
| 49 as threads are crucial to matching (P)NaCl's most interesting use |
| 50 cases. Migration items which assume forthcoming threads support |
| 51 are marked below. If your application's flow control relies heavily on blocking |
| 52 APIs, you may also find threads support is required for convenient porting. |
| 53 |
| 54 While we've tried to be accurate in this table, |
| 55 there are no doubt errors or omissions. |
| 56 If you encounter one, please reach out to us on |
| 57 native-client-discuss@googlegroups.com |
| 58 |
| 59 .. contents:: |
| 60 :local: |
| 61 :backlinks: none |
| 62 :depth: 2 |
| 63 |
| 64 PPAPI |
| 65 ----- |
| 66 .. raw:: html |
| 67 :file: public.html |
| 68 |
| 69 IRT |
| 70 --- |
| 71 .. raw:: html |
| 72 :file: public.html |
| 73 |
| 74 PPAPI (Apps) |
| 75 ------------ |
| 76 .. raw:: html |
| 77 :file: apps.html |
| OLD | NEW |