diff options
| author | Mike Pall <mike> | 2012-10-31 18:14:49 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2012-10-31 18:14:49 +0100 |
| commit | 4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e (patch) | |
| tree | 26df0cb51d9b6bfe750f20fa3df259058a825822 | |
| parent | 1f372e13c27446a64247bcd222ec3d91d1f46363 (diff) | |
| download | luajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.tar.gz luajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.tar.bz2 luajit-4b9441c0a9fd24b06a853ada22ed2c53a37d7b0e.zip | |
Update docs for release candidate.
| -rw-r--r-- | doc/extensions.html | 10 | ||||
| -rw-r--r-- | doc/install.html | 15 | ||||
| -rw-r--r-- | doc/luajit.html | 2 | ||||
| -rw-r--r-- | doc/running.html | 15 | ||||
| -rw-r--r-- | doc/status.html | 8 |
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> |
| 236 | The LuaJIT 2.x VM is fully resumable. This means you can yield from a | 236 | The LuaJIT VM is fully resumable. This means you can yield from a |
| 237 | coroutine even across contexts, where this would not possible with | 237 | coroutine even across contexts, where this would not possible with |
| 238 | the standard Lua 5.1 VM: e.g. you can yield across <tt>pcall()</tt> | 238 | the standard Lua 5.1 VM: e.g. you can yield across <tt>pcall()</tt> |
| 239 | and <tt>xpcall()</tt>, across iterators and across metamethods. | 239 | and <tt>xpcall()</tt>, across iterators and across metamethods. |
| 240 | </p> | 240 | </p> |
| 241 | <p> | ||
| 242 | Note however that LuaJIT 2.x doesn't use | ||
| 243 | <a href="http://coco.luajit.org/"><span class="ext">»</span> Coco</a> anymore. This means the | ||
| 244 | overhead for creating coroutines is much smaller and no extra | ||
| 245 | C stacks need to be allocated. OTOH you can no longer yield | ||
| 246 | across arbitrary C functions. Keep this in mind when | ||
| 247 | upgrading 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 | |||
| 188 | and change to the newly created directory: | 188 | and change to the newly created directory: |
| 189 | </p> | 189 | </p> |
| 190 | <pre class="code"> | 190 | <pre class="code"> |
| 191 | tar zxf LuaJIT-2.0.0-beta11.tar.gz | 191 | tar zxf LuaJIT-2.0.0.tar.gz |
| 192 | cd LuaJIT-2.0.0-beta11</pre> | 192 | cd LuaJIT-2.0.0</pre> |
| 193 | <h3>Building LuaJIT</h3> | 193 | <h3>Building LuaJIT</h3> |
| 194 | <p> | 194 | <p> |
| 195 | The supplied Makefiles try to auto-detect the settings needed for your | 195 | The 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> |
| 237 | Obviously the prefixes given during build and installation need to be the same. | 237 | Obviously the prefixes given during build and installation need to be the same. |
| 238 | </p> | 238 | </p> |
| 239 | <p style="color: #c00000;"> | ||
| 240 | Note: to avoid overwriting a previous version, the beta test releases | ||
| 241 | only 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 | ||
| 243 | for convenience, with a command like this: | ||
| 244 | </p> | ||
| 245 | <pre class="code" style="color: #c00000;"> | ||
| 246 | sudo ln -sf luajit-2.0.0-beta11 /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. | |||
| 461 | Or use Android. :-p | 452 | Or use Android. :-p |
| 462 | </p> | 453 | </p> |
| 463 | <pre class="code"> | 454 | <pre class="code"> |
| 464 | IXCODE=/Applications/Xcode45-DP4.app/Contents | 455 | IXCODE=/Applications/Xcode.app/Contents |
| 465 | ISDK=$IXCODE/Developer/Platforms/iPhoneOS.platform/Developer | 456 | ISDK=$IXCODE/Developer/Platforms/iPhoneOS.platform/Developer |
| 466 | ISDKVER=iPhoneOS6.0.sdk | 457 | ISDKVER=iPhoneOS6.0.sdk |
| 467 | ISDKP=$ISDK/usr/bin/ | 458 | ISDKP=$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 © 2005-2012 Mike Pall, released under the | |||
| 176 | <td class="speed">3x<br>- 100x</td> | 176 | <td class="speed">3x<br>- 100x</td> |
| 177 | <td class="kb">115 <small>KB</small><br>VM</td> | 177 | <td class="kb">115 <small>KB</small><br>VM</td> |
| 178 | <td class="kb">90 <small>KB</small><br>JIT</td> | 178 | <td class="kb">90 <small>KB</small><br>JIT</td> |
| 179 | <td class="kloc">73 <small>KLOC</small><br>C</td> | 179 | <td class="kloc">63 <small>KLOC</small><br>C</td> |
| 180 | <td class="kloc">24 <small>KLOC</small><br>ASM</td> | 180 | <td class="kloc">24 <small>KLOC</small><br>ASM</td> |
| 181 | <td class="kloc">11 <small>KLOC</small><br>Lua</td> | 181 | <td class="kloc">11 <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 | |||
| 86 | Lua statements or whole Lua applications from the command line. It has an | 86 | Lua statements or whole Lua applications from the command line. It has an |
| 87 | interactive mode, too. | 87 | interactive mode, too. |
| 88 | </p> | 88 | </p> |
| 89 | <p class="indent" style="color: #c00000;"> | ||
| 90 | Note: the beta test releases only install under the versioned name on | ||
| 91 | POSIX systems (to avoid overwriting a previous version). You either need | ||
| 92 | to type <tt>luajit-2.0.0-beta11</tt> to start it or create a symlink | ||
| 93 | with a command like this: | ||
| 94 | </p> | ||
| 95 | <pre class="code" style="color: #c00000;"> | ||
| 96 | sudo ln -sf luajit-2.0.0-beta11 /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 | |||
| 195 | read the comment block at the start of their source. | 186 | read the comment block at the start of their source. |
| 196 | They can be found in the <tt>lib</tt> directory of the source | 187 | They can be found in the <tt>lib</tt> directory of the source |
| 197 | distribution or installed under the <tt>jit</tt> directory. By default | 188 | distribution or installed under the <tt>jit</tt> directory. By default |
| 198 | this is <tt>/usr/local/share/luajit-2.0.0-beta11/jit</tt> on POSIX | 189 | this is <tt>/usr/local/share/luajit-2.0.0/jit</tt> on POSIX |
| 199 | systems. | 190 | systems. |
| 200 | </p> | 191 | </p> |
| 201 | 192 | ||
| @@ -217,10 +208,6 @@ optimizations and higher numbers enable more optimizations. Omitting | |||
| 217 | the level (i.e. just <tt>-O</tt>) sets the default optimization level, | 208 | the level (i.e. just <tt>-O</tt>) sets the default optimization level, |
| 218 | which is <tt>-O3</tt> in the current version. | 209 | which is <tt>-O3</tt> in the current version. |
| 219 | </p> | 210 | </p> |
| 220 | <p style="font-size: 8pt;"> | ||
| 221 | Note: Unlike previous versions, <b>optimization is turned on by default</b> in | ||
| 222 | LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit -O</tt>. | ||
| 223 | </p> | ||
| 224 | <p> | 211 | <p> |
| 225 | The second form adds or removes individual optimization flags. | 212 | The second form adds or removes individual optimization flags. |
| 226 | The third form sets a parameter for the VM or the JIT compiler | 213 | The 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 2.0</span> is the currently active | 65 | <span style="color: #0000c0;">LuaJIT 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 |
| 67 | It has <a href="http://luajit.org/performance.html"><span class="ext">»</span> much better performance</a> than | 67 | feature-freeze — new features will only be added to LuaJIT 2.1. |
| 68 | LuaJIT 1.x and runs on many more platforms and architectures. | ||
| 69 | The 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> |
