Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1574)

Unified Diff: native_client_sdk/doc_generated/index.html

Issue 476793002: Per P0 reqs add launch pts + make download obvious. Also misc cpy edits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/doc_generated/index.html
diff --git a/native_client_sdk/doc_generated/index.html b/native_client_sdk/doc_generated/index.html
index 393827bb600744294eddca8e6df6628f01ef3fb7..4626dc90b164d7c8d887fc917a5cac2234c487a7 100644
--- a/native_client_sdk/doc_generated/index.html
+++ b/native_client_sdk/doc_generated/index.html
@@ -14,34 +14,57 @@ of native code to modern web browsers, without sacrificing the <strong>security<
<strong>portability</strong> of the web. Watch the video below for an overview of
Native Client, including its goals, how it works, and how
Portable Native Client lets developers run native compiled code on the web.</p>
+<aside class="note">
+This site uses several examples of Native Client. For the best experience,
+consider downloading the <a class="reference external" href="http://www.google.com/chrome/">latest version of Chrome</a>.
+When you come back, be sure to <a class="reference external" href="https://gonativeclient.appspot.com/demo">check out our demos</a>.
+</aside>
</div>
-<iframe class="video" width="640" height="360"
+<iframe class="video" width="600" height="337"
src="//www.youtube.com/embed/MvKEomoiKBA?rel=0" frameborder="0"></iframe>
+<div class="big-intro"><section id="two-types-of-modules">
+<h2 id="two-types-of-modules">Two Types of Modules</h2>
+<p>Native Client comes in two flavors.</p>
+<ul class="small-gap">
+<li><strong>Portable Native Client (PNaCl)</strong>: Pronounced &#8216;pinnacle&#8217;, PNaCl runs single, portable (<strong>pexe</strong>) executables and is available
+in most implementations of Chrome. A translator built into Chrome
+translates the pexe into native code for the client hardware. The entire
+module is translated before any code is executed rather than as the code is
+executed. PNaCl modules can be hosted from any web server.</li>
+<li><strong>Native Client (NaCl)</strong>: Also called traditional or non-portable Native
+Client, NaCl runs
+architecture-dependent (<strong>nexe</strong>) modules, which are packaged into an
+application. At runtime, the browser decides which nexe to load based on the
+architecture of the client machine. NaCl modules must be run from the <a class="reference external" href="https://chrome.google.com/webstore/category/apps">Chrome
+Web Store (CWS)</a>.
+Fortunately, work from PNaCl modules can be used to create NaCl modules.</li>
+</ul>
+<p>These flavors are described in more depth in <a class="reference external" href="nacl-and-pnacl">PNaCl and NaCl</a></p>
+<div class="left-side">
+<div class="left-side-inner">
+<h2>Hello World</h2>
+<div class="big-intro"><p>To jump right in <a class="reference external" href="devguide/tutorial/tutorial-part1">take the tutorial</a> that walks you through a basic web
+application for Portable Native Client (PNaCl). This is a client-side
+application that uses HTML, JavaScript, and a Native Client module written in C++.</p>
+</div>
+</div>
+</div>
+<h2>A Little More Advanced</h2>
+<div class="big-intro"><p>If you&#8217;ve already got the basics down, you&#8217;re probably trying to get a real application ready for production. You&#8217;re <a class="reference external" href="/devguide/devcycle/building">building</a>, <a class="reference external" href="/devguide/devcycle/debugging">debugging</a> or <a class="reference external" href="/devguide/distributing">ready to distribute</a>.</p>
+</div>
-<div class="right-side">
-<div class="right-side-inner">
-<h2>Guiding principles of Native Client</h2>
-<div class="big-intro">
-<ul>
- <li>Developer flexibility to program in any language.</li>
- <li>Running close to the metal to allow access to performance gains.</li>
- <li>Protecting users from malicious code and malware.</li>
- <li>Write-once, run-anywhere code portability across all user architectures.</li>
-</ul></div>
+<div class="left-side">
+<div class="left-side-inner">
+<h2>Nuts and Bolts</h2>
+<div class="big-intro"><p>You&#8217;ve been working on a Native Client module for a while now and you&#8217;ve run into an arcane problem. You may need to refer to the <a class="reference external" href="/reference/pnacl-bitcode-abi">PNaCl Bitcode Reference</a> or the <a class="reference external" href="/sandbox_internals/index">Sandbox internals</a>.</p>
</div>
-</div><section id="get-started-with-native-client">
-<h2 id="get-started-with-native-client">Get started with Native Client</h2>
-<div class="big-intro"><ol class="arabic simple">
-<li><a class="reference internal" href="/native-client/sdk/download.html"><em>Download the Native Client SDK</em></a>.</li>
-<li>Read the <a class="reference internal" href="/native-client/overview.html"><em>Technical Overview</em></a>.</li>
-<li>Learn how to use the SDK and build both a web app and a Chrome app in the
-<a class="reference internal" href="/native-client/devguide/tutorial/tutorial-part1.html"><em>Getting Started Tutorial</em></a>.</li>
-</ol>
</div>
+</div></section><section id="i-want-to-know-everything">
+<h2 id="i-want-to-know-everything">I Want to Know Everything</h2>
+<p>So, you like to read now and try later. Start with our <a class="reference external" href="/overview">Technical Overview</a></p>
<div class="big-intro" style="clear: both;"><p>Send us questions, comments, and feedback:
<a class="reference external" href="https://groups.google.com/forum/#!forum/native-client-discuss">native-client-discuss</a>.</p>
-</div>
</div></section></section>
{{/partials.standard_nacl_article}}

Powered by Google App Engine
This is Rietveld 408576698