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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
101 | 101 |
102 .. _when-to-use-nacl: | 102 .. _when-to-use-nacl: |
103 | 103 |
104 When to use NaCl | 104 When to use NaCl |
105 ================ | 105 ================ |
106 | 106 |
107 The limitations below apply to the current release of PNaCl. If any of | 107 The limitations below apply to the current release of PNaCl. If any of |
108 these limitations are critical for your application, you should use | 108 these limitations are critical for your application, you should use |
109 non-portable NaCl: | 109 non-portable NaCl: |
110 | 110 |
111 * By its nature, PNaCl does not support architecture-specific instructions in | 111 * By its nature, PNaCl does not support architecture-specific |
112 an application (i.e., inline assembly). Future editions of PNaCl will | 112 instructions in an application (i.e., inline assembly), but tries to |
113 attempt to mitigate this problem by introducing portable intrinsics for vector | 113 offer high-performance equivalents. |
Derek Schuff
2014/04/24 16:06:20
"high-performance portable equivalents"?
JF
2014/04/24 16:16:30
Done.
| |
114 operations. | |
115 * Currently PNaCl only supports static linking with the ``newlib`` | 114 * Currently PNaCl only supports static linking with the ``newlib`` |
116 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 |
117 ``newlib``). Dynamic linking and ``glibc`` are not yet supported. | 116 ``newlib``). Dynamic linking and ``glibc`` are not yet supported. |
118 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. |
119 * In the initial release, PNaCl does not support vector types and SIMD. | |
120 * In the initial release, PNaCl does not support some GNU extensions | 118 * In the initial release, PNaCl does not support some GNU extensions |
121 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 |
122 functions. | 120 functions. |
OLD | NEW |