1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
5 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
6 <meta name=
"Author" content=
"Mike Pall">
7 <meta name=
"Copyright" content=
"Copyright (C) 2005-2012, Mike Pall">
8 <meta name=
"Language" content=
"en">
9 <link rel=
"stylesheet" type=
"text/css" href=
"bluequad.css" media=
"screen">
10 <link rel=
"stylesheet" type=
"text/css" href=
"bluequad-print.css" media=
"print">
11 <meta name=
"description" content=
"LuaJIT is a Just-In-Time (JIT) compiler for the Lua language.">
15 <a href=
"http://luajit.org"><span>Lua
<span id=
"logo">JIT
</span></span></a>
22 <a class=
"current" href=
"luajit.html">LuaJIT
</a>
24 <a href=
"install.html">Installation
</a>
26 <a href=
"running.html">Running
</a>
29 <a href=
"extensions.html">Extensions
</a>
31 <a href=
"ext_ffi.html">FFI Library
</a>
33 <a href=
"ext_ffi_tutorial.html">FFI Tutorial
</a>
35 <a href=
"ext_ffi_api.html">ffi.* API
</a>
37 <a href=
"ext_ffi_semantics.html">FFI Semantics
</a>
40 <a href=
"ext_jit.html">jit.* Library
</a>
42 <a href=
"ext_c_api.html">Lua/C API
</a>
45 <a href=
"status.html">Status
</a>
47 <a href=
"changes.html">Changes
</a>
50 <a href=
"faq.html">FAQ
</a>
52 <a href=
"http://luajit.org/performance.html">Performance
<span class=
"ext">»</span></a>
54 <a href=
"http://luajit.org/download.html">Download
<span class=
"ext">»</span></a>
56 <a href=
"http://wiki.luajit.org/">Wiki
<span class=
"ext">»</span></a>
58 <a href=
"http://luajit.org/list.html">Mailing List
<span class=
"ext">»</span></a>
63 LuaJIT is a
<b>Just-In-Time Compiler
</b> for the Lua
<sup>*
</sup>
67 LuaJIT is Copyright
© 2005-
2012 Mike Pall.
68 LuaJIT is open source software, released under the
69 <a href=
"http://www.opensource.org/licenses/mit-license.php"><span class=
"ext">»</span> MIT license
</a>.
71 <p class=
"indent" style=
"color: #606060;">
72 * Lua is a powerful, dynamic and light-weight programming language
73 designed for extending applications. Lua is also frequently used as a
74 general-purpose, stand-alone language. More information about
75 Lua can be found at:
<a href=
"http://www.lua.org/"><span class=
"ext">»</span> http://www.lua.org/
</a>
77 <h2>Compatibility
</h2>
79 LuaJIT implements the full set of language features defined by Lua
5.1.
80 The virtual machine (VM) is
<b>API- and ABI-compatible
</b> to the
81 standard Lua interpreter and can be deployed as a drop-in replacement.
84 LuaJIT offers more performance, at the expense of portability. It
85 currently runs on all popular operating systems based on
86 <b>x86
</b> or
<b>x64
</b> CPUs (Linux, Windows, OSX etc.) or embedded
87 systems based on
<b>ARM
</b> (Android, iOS),
<b>PPC
</b> or
<b>MIPS
</b> CPUs.
88 Other platforms will be supported in the future, based on user demand
94 LuaJIT has been successfully used as a
<b>scripting middleware
</b> in
95 games,
3D modellers, numerical simulations, trading platforms and many
96 other specialty applications. It combines high flexibility with high
97 performance and an unmatched
<b>low memory footprint
</b>: less than
98 <b>125K
</b> for the VM plus less than
<b>85K
</b> for the JIT compiler (on x86).
101 LuaJIT has been in continuous development since
2005. It's widely
102 considered to be
<b>one of the fastest dynamic language
103 implementations
</b>. It has outperformed other dynamic languages on many
104 cross-language benchmarks since its first release
— often by a
105 substantial margin. In
2009 other dynamic language VMs started to catch up
106 with the performance of LuaJIT
1.x. Well, I couldn't let that slide. ;-)
109 2009 also marks the first release of the long-awaited
<b>LuaJIT
2.0</b>.
110 The whole VM has been rewritten from the ground up and relentlessly
111 optimized for performance. It combines a high-speed interpreter,
112 written in assembler, with a state-of-the-art JIT compiler.
115 An innovative
<b>trace compiler
</b> is integrated with advanced,
116 SSA-based optimizations and a highly tuned code generation backend. This
117 allows a substantial reduction of the overhead associated with dynamic
121 It's destined to break into the
<a href=
"http://luajit.org/performance.html"><span class=
"ext">»</span> performance
</a>
122 range traditionally reserved for offline, static language compilers.
127 Click on the LuaJIT sub-topics in the navigation bar to learn more
131 Click on the Logo in the upper left corner to visit
132 the LuaJIT project page on the web. All other links to online
133 resources are marked with a '
<span class=
"ext">»</span>'.
139 Copyright
© 2005-
2012 Mike Pall
140 <span class=
"noprint">
142 <a href=
"contact.html">Contact
</a>