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 topic" id="contents"> | 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> |
11 <li><a class="reference internal" href="#when-to-use-pnacl" id="id5">When to use
PNaCl</a></li> | 11 <li><a class="reference internal" href="#when-to-use-pnacl" id="id5">When to use
PNaCl</a></li> |
12 <li><a class="reference internal" href="#when-to-use-nacl" id="id6">When to use
NaCl</a></li> | 12 <li><a class="reference internal" href="#when-to-use-nacl" id="id6">When to use
NaCl</a></li> |
13 </ul> | 13 </ul> |
14 </div> | 14 |
15 <section id="native-client-nacl"> | 15 </div><section id="native-client-nacl"> |
16 <h2 id="native-client-nacl">Native Client (NaCl)</h2> | 16 <h2 id="native-client-nacl">Native Client (NaCl)</h2> |
17 <p>Native Client enables the execution of native code | 17 <p>Native Client enables the execution of native code |
18 securely inside web applications through the use of advanced | 18 securely inside web applications through the use of advanced |
19 <a class="reference external" href="https://developers.google.com/native-client/
community/talks#research">Software Fault Isolation (SFI) techniques</a>. | 19 <a class="reference external" href="https://developers.google.com/native-client/
community/talks#research">Software Fault Isolation (SFI) techniques</a>. |
20 Since its launch in 2011, Native Client has provided | 20 Since its launch in 2011, Native Client has provided |
21 developers with the ability to harness a client machine’s computational po
wer | 21 developers with the ability to harness a client machine’s computational po
wer |
22 to a much fuller extent than traditional web technologies, by running compiled C | 22 to a much fuller extent than traditional web technologies, by running compiled C |
23 and C++ code at near-native speeds and taking advantage of multiple cores with | 23 and C++ code at near-native speeds and taking advantage of multiple cores with |
24 shared memory.</p> | 24 shared memory.</p> |
25 <p>While Native Client provides operating system independence, it requires | 25 <p>While Native Client provides operating system independence, it requires |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 <code>newlib</code>). Dynamic linking and <code>glibc</code> are not yet support
ed. | 101 <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> | 102 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> | 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 | 104 <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 | 105 like taking the address of a label for computed <code>goto</code>, or nested |
106 functions.</li> | 106 functions.</li> |
107 </ul> | 107 </ul> |
108 </section></section> | 108 </section></section> |
109 | 109 |
110 {{/partials.standard_nacl_article}} | 110 {{/partials.standard_nacl_article}} |
OLD | NEW |