| OLD | NEW |
| 1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
| 2 | 2 |
| 3 <section id="nacl-and-pnacl"> | 3 <section id="nacl-and-pnacl"> |
| 4 <span id="id1"></span><h1 id="nacl-and-pnacl"><span id="id1"></span>NaCl and PNa
Cl</h1> | 4 <span id="id1"></span><h1 id="nacl-and-pnacl"><span id="id1"></span>NaCl and PNa
Cl</h1> |
| 5 <p>This document describes the differences between <strong>Native Client</strong
> and | 5 <p>This document describes the differences between <strong>Native Client</strong
> and |
| 6 <strong>Portable Native Client</strong>, and provides recommendations for when t
o use each.</p> | 6 <strong>Portable Native Client</strong>, and provides recommendations for when t
o use each.</p> |
| 7 <div class="contents local" id="contents" style="display: none"> | 7 <div class="contents local" id="contents" style="display: none"> |
| 8 <ul class="small-gap"> | 8 <ul class="small-gap"> |
| 9 <li><a class="reference internal" href="#native-client-nacl" id="id3">Native Cli
ent (NaCl)</a></li> | 9 <li><a class="reference internal" href="#native-client-nacl" id="id3">Native Cli
ent (NaCl)</a></li> |
| 10 <li><a class="reference internal" href="#portable-native-client-pnacl" id="id4">
Portable Native Client (PNaCl)</a></li> | 10 <li><a class="reference internal" href="#portable-native-client-pnacl" id="id4">
Portable Native Client (PNaCl)</a></li> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 you can still use the PNaCl toolchain and distribute your application | 85 you can still use the PNaCl toolchain and distribute your application |
| 86 through the Chrome Web Store, and thereby take advantage of the | 86 through the Chrome Web Store, and thereby take advantage of the |
| 87 conveniences of PNaCl, such as not having to explicitly compile your application | 87 conveniences of PNaCl, such as not having to explicitly compile your application |
| 88 for all supported architectures.</p> | 88 for all supported architectures.</p> |
| 89 </section><section id="when-to-use-nacl"> | 89 </section><section id="when-to-use-nacl"> |
| 90 <span id="id2"></span><h2 id="when-to-use-nacl"><span id="id2"></span>When to us
e NaCl</h2> | 90 <span id="id2"></span><h2 id="when-to-use-nacl"><span id="id2"></span>When to us
e NaCl</h2> |
| 91 <p>The limitations below apply to the current release of PNaCl. If any of | 91 <p>The limitations below apply to the current release of PNaCl. If any of |
| 92 these limitations are critical for your application, you should use | 92 these limitations are critical for your application, you should use |
| 93 non-portable NaCl:</p> | 93 non-portable NaCl:</p> |
| 94 <ul class="small-gap"> | 94 <ul class="small-gap"> |
| 95 <li>By its nature, PNaCl does not support architecture-specific instructions in | 95 <li>By its nature, PNaCl does not support architecture-specific |
| 96 an application (i.e., inline assembly). Future editions of PNaCl will | 96 instructions in an application (i.e., inline assembly), but tries to |
| 97 attempt to mitigate this problem by introducing portable intrinsics for vector | 97 offer high-performance portable equivalents.</li> |
| 98 operations.</li> | |
| 99 <li>Currently PNaCl only supports static linking with the <code>newlib</code> | 98 <li>Currently PNaCl only supports static linking with the <code>newlib</code> |
| 100 C standard library (the Native Client SDK provides a PNaCl port of | 99 C standard library (the Native Client SDK provides a PNaCl port of |
| 101 <code>newlib</code>). Dynamic linking and <code>glibc</code> are not yet support
ed. | 100 <code>newlib</code>). Dynamic linking and <code>glibc</code> are not yet support
ed. |
| 102 Work is under way to enable dynamic linking in future versions of PNaCl.</li> | 101 Work is under way to enable dynamic linking in future versions of PNaCl.</li> |
| 103 <li>In the initial release, PNaCl does not support vector types and SIMD.</li> | |
| 104 <li>In the initial release, PNaCl does not support some GNU extensions | 102 <li>In the initial release, PNaCl does not support some GNU extensions |
| 105 like taking the address of a label for computed <code>goto</code>, or nested | 103 like taking the address of a label for computed <code>goto</code>, or nested |
| 106 functions.</li> | 104 functions.</li> |
| 107 </ul> | 105 </ul> |
| 108 </section></section> | 106 </section></section> |
| 109 | 107 |
| 110 {{/partials.standard_nacl_article}} | 108 {{/partials.standard_nacl_article}} |
| OLD | NEW |