MAJVER= 2
MINVER= 0
RELVER= 0
-PREREL= -beta10
+PREREL= -beta11
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
ABIVER= 5.1
-README for LuaJIT 2.0.0-beta10
+README for LuaJIT 2.0.0-beta11
------------------------------
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
<div id="main">
<p>
This is a list of changes between the released versions of LuaJIT.<br>
-The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta10</strong>.<br>
+The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta11</strong>.<br>
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.8</strong>.
</p>
<p>
and change to the newly created directory:
</p>
<pre class="code">
-tar zxf LuaJIT-2.0.0-beta10.tar.gz
-cd LuaJIT-2.0.0-beta10</pre>
+tar zxf LuaJIT-2.0.0-beta11.tar.gz
+cd LuaJIT-2.0.0-beta11</pre>
<h3>Building LuaJIT</h3>
<p>
The supplied Makefiles try to auto-detect the settings needed for your
<p style="color: #c00000;">
Note: to avoid overwriting a previous version, the beta test releases
only install the LuaJIT executable under the versioned name (i.e.
-<tt>luajit-2.0.0-beta10</tt>). You probably want to create a symlink
+<tt>luajit-2.0.0-beta11</tt>). You probably want to create a symlink
for convenience, with a command like this:
</p>
<pre class="code" style="color: #c00000;">
-sudo ln -sf luajit-2.0.0-beta10 /usr/local/bin/luajit
+sudo ln -sf luajit-2.0.0-beta11 /usr/local/bin/luajit
</pre>
<h2 id="windows">Windows Systems</h2>
substantial margin.
</p>
<p>
-For <b>LuaJIT 2.0</b> the whole VM has been rewritten from the ground up
+For <b>LuaJIT 2.0</b>, the whole VM has been rewritten from the ground up
and relentlessly optimized for performance. It combines a <b>high-speed
interpreter</b>, written in assembler, with a <b>state-of-the-art JIT
compiler</b>.
<p class="indent" style="color: #c00000;">
Note: the beta test releases only install under the versioned name on
POSIX systems (to avoid overwriting a previous version). You either need
-to type <tt>luajit-2.0.0-beta10</tt> to start it or create a symlink
+to type <tt>luajit-2.0.0-beta11</tt> to start it or create a symlink
with a command like this:
</p>
<pre class="code" style="color: #c00000;">
-sudo ln -sf luajit-2.0.0-beta10 /usr/local/bin/luajit
+sudo ln -sf luajit-2.0.0-beta11 /usr/local/bin/luajit
</pre>
-<p>
-Unlike previous versions <b>optimization is turned on by default</b> in
-LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit -O</tt>.
-</p>
<h2 id="options">Command Line Options</h2>
<p>
read the comment block at the start of their source.
They can be found in the <tt>lib</tt> directory of the source
distribution or installed under the <tt>jit</tt> directory. By default
-this is <tt>/usr/local/share/luajit-2.0.0-beta10/jit</tt> on POSIX
+this is <tt>/usr/local/share/luajit-2.0.0-beta11/jit</tt> on POSIX
systems.
</p>
the level (i.e. just <tt>-O</tt>) sets the default optimization level,
which is <tt>-O3</tt> in the current version.
</p>
+<p style="font-size: 8pt;">
+Note: Unlike previous versions, <b>optimization is turned on by default</b> in
+LuaJIT 2.0!<br>It's no longer necessary to use <tt>luajit -O</tt>.
+</p>
<p>
The second form adds or removes individual optimization flags.
The third form sets a parameter for the VM or the JIT compiler
</div>
<div id="main">
<p>
-The <span style="color: #0000c0;">LuaJIT 1.x</span> series represents
-the current <span style="color: #0000c0;">stable branch</span>.
-Only a single bug has been discovered in the last three years. So, if
-you need a rock-solid VM, you are encouraged to fetch the latest
-release of LuaJIT 1.x from the <a href="http://luajit.org/download.html"><span class="ext">»</span> Download</a>
-page.
-</p>
-<p>
<span style="color: #c00000;">LuaJIT 2.0</span> is the currently active
<span style="color: #c00000;">development branch</span> in beta test.
It has <a href="http://luajit.org/performance.html"><span class="ext">»</span> much better performance</a> than
LuaJIT 1.x and runs on many more platforms and architectures.
-It's nearing a stable release, so you should definitely
-start to evaluate it for new projects right now.
+The branch has already been frozen as it's nearing a stable release.
</p>
<h2>Current Status</h2>
majver=2
minver=0
relver=0
-version=${majver}.${minver}.${relver}-beta10
+version=${majver}.${minver}.${relver}-beta11
abiver=5.1
prefix=/usr/local
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
#ifdef LUA_XROOT
-#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta10/"
+#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta11/"
#define LUA_XPATH \
";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;"
#else
-#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta10/"
+#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta11/"
#define LUA_XPATH
#define LUA_XCPATH
#endif
#include "lua.h"
-#define LUAJIT_VERSION "LuaJIT 2.0.0-beta10"
+#define LUAJIT_VERSION "LuaJIT 2.0.0-beta11"
#define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */
-#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta10
+#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta11
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2012 Mike Pall"
#define LUAJIT_URL "http://luajit.org/"