MAJVER= 2
MINVER= 0
RELVER= 0
-PREREL= -beta2
+PREREL= -beta3
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
ABIVER= 5.1
NODOTABIVER= 51
-README for LuaJIT 2.0.0-beta2
+README for LuaJIT 2.0.0-beta3
-----------------------------
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-beta2</strong>.<br>
+The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta3</strong>.<br>
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.5</strong>.
</p>
<p>
<a href="http://luajit.org/changes.html"><span class="ext">»</span> Online Change History</a>
to see whether newer versions are available.
</p>
-
-<div class="major" style="background: #d0d0d0;">
-<h2 id="snap">Development Snapshot</h2>
+<div class="major" style="background: #ffd0d0;">
+<h2 id="LuaJIT-2.0.0-beta3">LuaJIT 2.0.0-beta3 — 2010-03-07</h2>
<ul>
-<li>Portability:
+<li>LuaJIT x64 port:</li>
<ul>
<li>Port integrated memory allocator to Linux/x64, Windows/x64 and OSX/x64.</li>
<li>Port interpreter and JIT compiler to x64.</li>
<li>Port DynASM to x64.</li>
<li>Many 32/64 bit cleanups in the VM.</li>
<li>Allow building the interpreter with either x87 or SSE2 arithmetics.</li>
-<li>Disable JIT compiler on older non-SSE2 CPUs instead of aborting.</li>
+<li>Add external unwinding and C++ exception interop (default on x64).</li>
</ul></li>
<li>Correctness and completeness:
<ul>
<li>Drive the GC forward on string allocations in the parser.</li>
<li>Implement call/return hooks (zero-cost if disabled).</li>
<li>Implement yield from C hooks.</li>
-<li>Add external unwinding and C++ exception interop (default on x64).</li>
+<li>Disable JIT compiler on older non-SSE2 CPUs instead of aborting.</li>
</ul></li>
<li>Structural and performance enhancements:
<ul>
and <tt>math.random()</tt>.</li>
</ul></li>
</ul>
-</div>
-<div class="major" style="background: #ffd0d0;">
<h2 id="LuaJIT-2.0.0-beta2">LuaJIT 2.0.0-beta2 — 2009-11-09</h2>
<ul>
<li>Reorganize build system. Build static+shared library on POSIX.</li>
and change to the newly created directory:
</p>
<pre class="code">
-tar zxf LuaJIT-2.0.0-beta2.tar.gz
-cd LuaJIT-2.0.0-beta2</pre>
+tar zxf LuaJIT-2.0.0-beta3.tar.gz
+cd LuaJIT-2.0.0-beta3</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-beta2</tt>). You probably want to create a symlink
+<tt>luajit-2.0.0-beta3</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-beta2 /usr/local/bin/luajit
+sudo ln -sf luajit-2.0.0-beta3 /usr/local/bin/luajit
</pre>
<h2 id="windows">Windows Systems</h2>
<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-beta2</tt> to start it or create a symlink
+to type <tt>luajit-2.0.0-beta3</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-beta2 /usr/local/bin/luajit
+sudo ln -sf luajit-2.0.0-beta3 /usr/local/bin/luajit
</pre>
<p>
Unlike previous versions <b>optimization is turned on by default</b> in
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-beta2/jit</tt> on POSIX
+this is <tt>/usr/local/share/luajit-2.0.0-beta3/jit</tt> on POSIX
systems.
</p>
majver=2
minver=0
relver=0
-version=${majver}.${minver}.${relver}-beta2
+version=${majver}.${minver}.${relver}-beta3
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-beta2/"
+#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta3/"
#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-beta2/"
+#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta3/"
#define LUA_XPATH
#define LUA_XCPATH
#endif
#include "lua.h"
-#define LUAJIT_VERSION "LuaJIT 2.0.0-beta2"
+#define LUAJIT_VERSION "LuaJIT 2.0.0-beta3"
#define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */
-#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta2
+#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta3
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2010 Mike Pall"
#define LUAJIT_URL "http://luajit.org/"