aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2012-10-31 18:14:49 +0100
committerMike Pall <mike>2012-10-31 18:14:49 +0100
commit4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e (patch)
tree26df0cb51d9b6bfe750f20fa3df259058a825822
parent1f372e13c27446a64247bcd222ec3d91d1f46363 (diff)
downloadluajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.tar.gz
luajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.tar.bz2
luajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.zip
Update docs for release candidate.
-rw-r--r--doc/extensions.html10
-rw-r--r--doc/install.html15
-rw-r--r--doc/luajit.html2
-rw-r--r--doc/running.html15
-rw-r--r--doc/status.html8
5 files changed, 9 insertions, 41 deletions
diff --git a/doc/extensions.html b/doc/extensions.html
index d32dd37c..dc5fb00a 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -233,19 +233,11 @@ the corresponding metamethod (e.g. <tt>"__index"</tt>).
233 233
234<h2 id="resumable">Fully Resumable VM</h2> 234<h2 id="resumable">Fully Resumable VM</h2>
235<p> 235<p>
236The LuaJIT 2.x VM is fully resumable. This means you can yield from a 236The LuaJIT VM is fully resumable. This means you can yield from a
237coroutine even across contexts, where this would not possible with 237coroutine even across contexts, where this would not possible with
238the standard Lua&nbsp;5.1 VM: e.g. you can yield across <tt>pcall()</tt> 238the standard Lua&nbsp;5.1 VM: e.g. you can yield across <tt>pcall()</tt>
239and <tt>xpcall()</tt>, across iterators and across metamethods. 239and <tt>xpcall()</tt>, across iterators and across metamethods.
240</p> 240</p>
241<p>
242Note however that LuaJIT 2.x doesn't use
243<a href="http://coco.luajit.org/"><span class="ext">&raquo;</span>&nbsp;Coco</a> anymore. This means the
244overhead for creating coroutines is much smaller and no extra
245C&nbsp;stacks need to be allocated. OTOH you can no longer yield
246across arbitrary C&nbsp;functions. Keep this in mind when
247upgrading from LuaJIT 1.x.
248</p>
249 241
250<h2 id="lua52">Extensions from Lua 5.2</h2> 242<h2 id="lua52">Extensions from Lua 5.2</h2>
251<p> 243<p>
diff --git a/doc/install.html b/doc/install.html
index 7d8636d2..435c6c08 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -188,8 +188,8 @@ open a terminal window and change to this directory. Now unpack the archive
188and change to the newly created directory: 188and change to the newly created directory:
189</p> 189</p>
190<pre class="code"> 190<pre class="code">
191tar zxf LuaJIT-2.0.0-beta11.tar.gz 191tar zxf LuaJIT-2.0.0.tar.gz
192cd LuaJIT-2.0.0-beta11</pre> 192cd LuaJIT-2.0.0</pre>
193<h3>Building LuaJIT</h3> 193<h3>Building LuaJIT</h3>
194<p> 194<p>
195The supplied Makefiles try to auto-detect the settings needed for your 195The supplied Makefiles try to auto-detect the settings needed for your
@@ -236,15 +236,6 @@ make install PREFIX=/home/myself/lj2
236<p> 236<p>
237Obviously the prefixes given during build and installation need to be the same. 237Obviously the prefixes given during build and installation need to be the same.
238</p> 238</p>
239<p style="color: #c00000;">
240Note: to avoid overwriting a previous version, the beta test releases
241only install the LuaJIT executable under the versioned name (i.e.
242<tt>luajit-2.0.0-beta11</tt>). You probably want to create a symlink
243for convenience, with a command like this:
244</p>
245<pre class="code" style="color: #c00000;">
246sudo ln -sf luajit-2.0.0-beta11&nbsp;/usr/local/bin/luajit
247</pre>
248 239
249<h2 id="windows">Windows Systems</h2> 240<h2 id="windows">Windows Systems</h2>
250<h3>Prerequisites</h3> 241<h3>Prerequisites</h3>
@@ -461,7 +452,7 @@ much slower than the JIT compiler. Please complain to Apple, not me.
461Or use Android. :-p 452Or use Android. :-p
462</p> 453</p>
463<pre class="code"> 454<pre class="code">
464IXCODE=/Applications/Xcode45-DP4.app/Contents 455IXCODE=/Applications/Xcode.app/Contents
465ISDK=$IXCODE/Developer/Platforms/iPhoneOS.platform/Developer 456ISDK=$IXCODE/Developer/Platforms/iPhoneOS.platform/Developer
466ISDKVER=iPhoneOS6.0.sdk 457ISDKVER=iPhoneOS6.0.sdk
467ISDKP=$ISDK/usr/bin/ 458ISDKP=$ISDK/usr/bin/
diff --git a/doc/luajit.html b/doc/luajit.html
index 5d021355..8fb0e05f 100644
--- a/doc/luajit.html
+++ b/doc/luajit.html
@@ -176,7 +176,7 @@ LuaJIT is Copyright &copy; 2005-2012 Mike Pall, released under the
176<td class="speed">3x<br>-&nbsp;&nbsp;100x</td> 176<td class="speed">3x<br>-&nbsp;&nbsp;100x</td>
177<td class="kb">115&nbsp;<small>KB</small><br>VM</td> 177<td class="kb">115&nbsp;<small>KB</small><br>VM</td>
178<td class="kb">90&nbsp;<small>KB</small><br>JIT</td> 178<td class="kb">90&nbsp;<small>KB</small><br>JIT</td>
179<td class="kloc">73&nbsp;<small>KLOC</small><br>C</td> 179<td class="kloc">63&nbsp;<small>KLOC</small><br>C</td>
180<td class="kloc">24&nbsp;<small>KLOC</small><br>ASM</td> 180<td class="kloc">24&nbsp;<small>KLOC</small><br>ASM</td>
181<td class="kloc">11&nbsp;<small>KLOC</small><br>Lua</td> 181<td class="kloc">11&nbsp;<small>KLOC</small><br>Lua</td>
182</tr> 182</tr>
diff --git a/doc/running.html b/doc/running.html
index 8dd935aa..7870a5d9 100644
--- a/doc/running.html
+++ b/doc/running.html
@@ -86,15 +86,6 @@ POSIX systems or <tt>luajit.exe</tt> on Windows. It can be used to run simple
86Lua statements or whole Lua applications from the command line. It has an 86Lua statements or whole Lua applications from the command line. It has an
87interactive mode, too. 87interactive mode, too.
88</p> 88</p>
89<p class="indent" style="color: #c00000;">
90Note: the beta test releases only install under the versioned name on
91POSIX systems (to avoid overwriting a previous version). You either need
92to type <tt>luajit-2.0.0-beta11</tt> to start it or create a symlink
93with a command like this:
94</p>
95<pre class="code" style="color: #c00000;">
96sudo ln -sf luajit-2.0.0-beta11&nbsp;/usr/local/bin/luajit
97</pre>
98 89
99<h2 id="options">Command Line Options</h2> 90<h2 id="options">Command Line Options</h2>
100<p> 91<p>
@@ -195,7 +186,7 @@ itself. For a description of their options and output format, please
195read the comment block at the start of their source. 186read the comment block at the start of their source.
196They can be found in the <tt>lib</tt> directory of the source 187They can be found in the <tt>lib</tt> directory of the source
197distribution or installed under the <tt>jit</tt> directory. By default 188distribution or installed under the <tt>jit</tt> directory. By default
198this is <tt>/usr/local/share/luajit-2.0.0-beta11/jit</tt> on POSIX 189this is <tt>/usr/local/share/luajit-2.0.0/jit</tt> on POSIX
199systems. 190systems.
200</p> 191</p>
201 192
@@ -217,10 +208,6 @@ optimizations and higher numbers enable more optimizations. Omitting
217the level (i.e. just <tt>-O</tt>) sets the default optimization level, 208the level (i.e. just <tt>-O</tt>) sets the default optimization level,
218which is <tt>-O3</tt> in the current version. 209which is <tt>-O3</tt> in the current version.
219</p> 210</p>
220<p style="font-size: 8pt;">
221Note: Unlike previous versions, <b>optimization is turned on by default</b> in
222LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit&nbsp;-O</tt>.
223</p>
224<p> 211<p>
225The second form adds or removes individual optimization flags. 212The second form adds or removes individual optimization flags.
226The third form sets a parameter for the VM or the JIT compiler 213The third form sets a parameter for the VM or the JIT compiler
diff --git a/doc/status.html b/doc/status.html
index 6eba8772..f665b9b3 100644
--- a/doc/status.html
+++ b/doc/status.html
@@ -62,11 +62,9 @@ ul li { padding-bottom: 0.3em; }
62</div> 62</div>
63<div id="main"> 63<div id="main">
64<p> 64<p>
65<span style="color: #c00000;">LuaJIT&nbsp;2.0</span> is the currently active 65<span style="color: #0000c0;">LuaJIT&nbsp;2.0</span> is the current
66<span style="color: #c00000;">development branch</span> in beta test. 66<span style="color: #0000c0;">stable branch</span>. This branch is in
67It has <a href="http://luajit.org/performance.html"><span class="ext">&raquo;</span>&nbsp;much better performance</a> than 67feature-freeze &mdash; new features will only be added to LuaJIT&nbsp;2.1.
68LuaJIT&nbsp;1.x and runs on many more platforms and architectures.
69The branch has already been frozen as it's nearing a stable release.
70</p> 68</p>
71 69
72<h2>Current Status</h2> 70<h2>Current Status</h2>