mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
RELEASE LuaJIT-2.0.0-beta11
This commit is contained in:
parent
a0f83f6b96
commit
4baa01be78
2
Makefile
2
Makefile
@ -16,7 +16,7 @@
|
|||||||
MAJVER= 2
|
MAJVER= 2
|
||||||
MINVER= 0
|
MINVER= 0
|
||||||
RELVER= 0
|
RELVER= 0
|
||||||
PREREL= -beta10
|
PREREL= -beta11
|
||||||
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
|
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
|
||||||
ABIVER= 5.1
|
ABIVER= 5.1
|
||||||
|
|
||||||
|
2
README
2
README
@ -1,4 +1,4 @@
|
|||||||
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.
|
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
|
||||||
|
@ -63,7 +63,7 @@ div.major { max-width: 600px; padding: 1em; margin: 1em 0 1em 0; }
|
|||||||
<div id="main">
|
<div id="main">
|
||||||
<p>
|
<p>
|
||||||
This is a list of changes between the released versions of LuaJIT.<br>
|
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>.
|
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.8</strong>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -188,8 +188,8 @@ open a terminal window and change to this directory. Now unpack the archive
|
|||||||
and change to the newly created directory:
|
and change to the newly created directory:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code">
|
<pre class="code">
|
||||||
tar zxf LuaJIT-2.0.0-beta10.tar.gz
|
tar zxf LuaJIT-2.0.0-beta11.tar.gz
|
||||||
cd LuaJIT-2.0.0-beta10</pre>
|
cd LuaJIT-2.0.0-beta11</pre>
|
||||||
<h3>Building LuaJIT</h3>
|
<h3>Building LuaJIT</h3>
|
||||||
<p>
|
<p>
|
||||||
The supplied Makefiles try to auto-detect the settings needed for your
|
The supplied Makefiles try to auto-detect the settings needed for your
|
||||||
@ -239,11 +239,11 @@ Obviously the prefixes given during build and installation need to be the same.
|
|||||||
<p style="color: #c00000;">
|
<p style="color: #c00000;">
|
||||||
Note: to avoid overwriting a previous version, the beta test releases
|
Note: to avoid overwriting a previous version, the beta test releases
|
||||||
only install the LuaJIT executable under the versioned name (i.e.
|
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:
|
for convenience, with a command like this:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code" style="color: #c00000;">
|
<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>
|
</pre>
|
||||||
|
|
||||||
<h2 id="windows">Windows Systems</h2>
|
<h2 id="windows">Windows Systems</h2>
|
||||||
|
@ -197,7 +197,7 @@ cross-language benchmarks since its first release — often by a
|
|||||||
substantial margin.
|
substantial margin.
|
||||||
</p>
|
</p>
|
||||||
<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
|
and relentlessly optimized for performance. It combines a <b>high-speed
|
||||||
interpreter</b>, written in assembler, with a <b>state-of-the-art JIT
|
interpreter</b>, written in assembler, with a <b>state-of-the-art JIT
|
||||||
compiler</b>.
|
compiler</b>.
|
||||||
|
@ -89,16 +89,12 @@ interactive mode, too.
|
|||||||
<p class="indent" style="color: #c00000;">
|
<p class="indent" style="color: #c00000;">
|
||||||
Note: the beta test releases only install under the versioned name on
|
Note: the beta test releases only install under the versioned name on
|
||||||
POSIX systems (to avoid overwriting a previous version). You either need
|
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:
|
with a command like this:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code" style="color: #c00000;">
|
<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>
|
</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>
|
<h2 id="options">Command Line Options</h2>
|
||||||
<p>
|
<p>
|
||||||
@ -199,7 +195,7 @@ itself. For a description of their options and output format, please
|
|||||||
read the comment block at the start of their source.
|
read the comment block at the start of their source.
|
||||||
They can be found in the <tt>lib</tt> directory of the 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
|
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.
|
systems.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -221,6 +217,10 @@ optimizations and higher numbers enable more optimizations. Omitting
|
|||||||
the level (i.e. just <tt>-O</tt>) sets the default optimization level,
|
the level (i.e. just <tt>-O</tt>) sets the default optimization level,
|
||||||
which is <tt>-O3</tt> in the current version.
|
which is <tt>-O3</tt> in the current version.
|
||||||
</p>
|
</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>
|
<p>
|
||||||
The second form adds or removes individual optimization flags.
|
The second form adds or removes individual optimization flags.
|
||||||
The third form sets a parameter for the VM or the JIT compiler
|
The third form sets a parameter for the VM or the JIT compiler
|
||||||
|
@ -62,20 +62,11 @@ ul li { padding-bottom: 0.3em; }
|
|||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<p>
|
<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;">LuaJIT 2.0</span> is the currently active
|
||||||
<span style="color: #c00000;">development branch</span> in beta test.
|
<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
|
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.
|
LuaJIT 1.x and runs on many more platforms and architectures.
|
||||||
It's nearing a stable release, so you should definitely
|
The branch has already been frozen as it's nearing a stable release.
|
||||||
start to evaluate it for new projects right now.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Current Status</h2>
|
<h2>Current Status</h2>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
majver=2
|
majver=2
|
||||||
minver=0
|
minver=0
|
||||||
relver=0
|
relver=0
|
||||||
version=${majver}.${minver}.${relver}-beta10
|
version=${majver}.${minver}.${relver}-beta11
|
||||||
abiver=5.1
|
abiver=5.1
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
|
@ -30,12 +30,12 @@
|
|||||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||||
#ifdef LUA_XROOT
|
#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 \
|
#define LUA_XPATH \
|
||||||
";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
|
";" 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;"
|
#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;"
|
||||||
#else
|
#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_XPATH
|
||||||
#define LUA_XCPATH
|
#define LUA_XCPATH
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
|
|
||||||
#include "lua.h"
|
#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_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_COPYRIGHT "Copyright (C) 2005-2012 Mike Pall"
|
||||||
#define LUAJIT_URL "http://luajit.org/"
|
#define LUAJIT_URL "http://luajit.org/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user