OLD | NEW |
1 .. _nacl-and-pnacl: | 1 .. _nacl-and-pnacl: |
2 | 2 |
3 ############## | 3 ############## |
4 NaCl and PNaCl | 4 NaCl and PNaCl |
5 ############## | 5 ############## |
6 | 6 |
7 This document describes the differences between **Native Client** and | 7 This document describes the differences between **Native Client** and |
8 **Portable Native Client**, and provides recommendations for when to use each. | 8 **Portable Native Client**, and provides recommendations for when to use each. |
9 | 9 |
10 .. contents:: | 10 .. contents:: |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 When to use NaCl | 103 When to use NaCl |
104 ================ | 104 ================ |
105 | 105 |
106 The limitations below apply to the current release of PNaCl. If any of | 106 The limitations below apply to the current release of PNaCl. If any of |
107 these limitations are critical for your application, you should use | 107 these limitations are critical for your application, you should use |
108 non-portable NaCl: | 108 non-portable NaCl: |
109 | 109 |
110 * By its nature, PNaCl does not support architecture-specific | 110 * By its nature, PNaCl does not support architecture-specific |
111 instructions in an application (i.e., inline assembly), but tries to | 111 instructions in an application (i.e., inline assembly), but tries to |
112 offer high-performance portable equivalents. | 112 offer high-performance portable equivalents. One such example is |
| 113 PNaCl's :ref:`Portable SIMD Vectors <portable_simd_vectors>`. |
113 * Currently PNaCl only supports static linking with the ``newlib`` | 114 * Currently PNaCl only supports static linking with the ``newlib`` |
114 C standard library (the Native Client SDK provides a PNaCl port of | 115 C standard library (the Native Client SDK provides a PNaCl port of |
115 ``newlib``). Dynamic linking and ``glibc`` are not yet supported. | 116 ``newlib``). Dynamic linking and ``glibc`` are not yet supported. |
116 Work is under way to enable dynamic linking in future versions of PNaCl. | 117 Work is under way to enable dynamic linking in future versions of PNaCl. |
117 * In the initial release, PNaCl does not support some GNU extensions | 118 * In the initial release, PNaCl does not support some GNU extensions |
118 like taking the address of a label for computed ``goto``, or nested | 119 like taking the address of a label for computed ``goto``, or nested |
119 functions. | 120 functions. |
OLD | NEW |