6 <meta name=
"Copyright" content=
"Copyright (C) 2005-2023">
7 <meta name=
"Language" content=
"en">
8 <link rel=
"stylesheet" type=
"text/css" href=
"bluequad.css" media=
"screen">
9 <link rel=
"stylesheet" type=
"text/css" href=
"bluequad-print.css" media=
"print">
10 <meta name=
"description" content=
"LuaJIT is a Just-In-Time (JIT) compiler for the Lua language.">
11 <style type=
"text/css">
20 vertical-align: middle
;
23 border: 4px solid
#e6ecff;
28 background-image: linear-gradient
(#4060c0 10%, #b0b0ff 95%);
29 background-image: -moz-linear-gradient
(#4060c0 10%, #b0b0ff 95%);
30 background-image: -webkit-linear-gradient
(#4060c0 10%, #b0b0ff 95%);
31 background-image: -o-linear-gradient
(#4060c0 10%, #b0b0ff 95%);
32 background-image: -ms-linear-gradient
(#4060c0 10%, #b0b0ff 95%);
46 background-image: linear-gradient
(#62bf41 10%, #b0ffb0 95%);
47 background-image: -moz-linear-gradient
(#62bf41 10%, #b0ffb0 95%);
48 background-image: -webkit-linear-gradient
(#62bf41 10%, #b0ffb0 95%);
49 background-image: -o-linear-gradient
(#62bf41 10%, #b0ffb0 95%);
50 background-image: -ms-linear-gradient
(#62bf41 10%, #b0ffb0 95%);
55 background-image: linear-gradient
(#bf6241 10%, #ffb0b0 95%);
56 background-image: -moz-linear-gradient
(#bf6241 10%, #ffb0b0 95%);
57 background-image: -webkit-linear-gradient
(#bf6241 10%, #ffb0b0 95%);
58 background-image: -o-linear-gradient
(#bf6241 10%, #ffb0b0 95%);
59 background-image: -ms-linear-gradient
(#bf6241 10%, #ffb0b0 95%);
64 background-image: linear-gradient
(#41bfbf 10%, #b0ffff 95%);
65 background-image: -moz-linear-gradient
(#41bfbf 10%, #b0ffff 95%);
66 background-image: -webkit-linear-gradient
(#41bfbf 10%, #b0ffff 95%);
67 background-image: -o-linear-gradient
(#41bfbf 10%, #b0ffff 95%);
68 background-image: -ms-linear-gradient
(#41bfbf 10%, #b0ffff 95%);
74 <a href=
"https://luajit.org"><span>Lua
<span id=
"logo">JIT
</span></span></a>
81 <a class=
"current" href=
"luajit.html">LuaJIT
</a>
83 <a href=
"https://luajit.org/download.html">Download
<span class=
"ext">»</span></a>
85 <a href=
"install.html">Installation
</a>
87 <a href=
"running.html">Running
</a>
90 <a href=
"extensions.html">Extensions
</a>
92 <a href=
"ext_ffi.html">FFI Library
</a>
94 <a href=
"ext_ffi_tutorial.html">FFI Tutorial
</a>
96 <a href=
"ext_ffi_api.html">ffi.* API
</a>
98 <a href=
"ext_ffi_semantics.html">FFI Semantics
</a>
101 <a href=
"ext_buffer.html">String Buffers
</a>
103 <a href=
"ext_jit.html">jit.* Library
</a>
105 <a href=
"ext_c_api.html">Lua/C API
</a>
107 <a href=
"ext_profiler.html">Profiler
</a>
110 <a href=
"https://luajit.org/status.html">Status
<span class=
"ext">»</span></a>
112 <a href=
"https://luajit.org/faq.html">FAQ
<span class=
"ext">»</span></a>
114 <a href=
"https://luajit.org/list.html">Mailing List
<span class=
"ext">»</span></a>
119 LuaJIT is a
<b>Just-In-Time Compiler
</b> (JIT) for the
120 <a href=
"https://www.lua.org/"><span class=
"ext">»</span> Lua
</a> programming language.
121 Lua is a powerful, dynamic and light-weight programming language.
122 It may be embedded or used as a general-purpose, stand-alone language.
125 LuaJIT is Copyright
© 2005-
2023 Mike Pall, released under the
126 <a href=
"https://www.opensource.org/licenses/mit-license.php"><span class=
"ext">»</span> MIT open source license
</a>.
131 <h2>Compatibility
</h2>
132 <table class=
"feature os os1">
133 <tr><td>Windows
</td><td>Linux
</td><td>BSD
</td><td>macOS
</td><td>POSIX
</td></tr>
135 <table class=
"feature os os2">
136 <tr><td><span style=
"font-size:90%;">Embedded
</span></td><td>Android
</td><td>iOS
</td></tr>
138 <table class=
"feature os os3">
139 <tr><td>PS3
</td><td>PS4
<br>PS5
</td><td>PS Vita
</td><td>Xbox
360</td><td>Xbox One
</td><td>Nintendo
<br>Switch
</td></tr>
141 <table class=
"feature compiler">
142 <tr><td>GCC
</td><td>Clang
<br>LLVM
</td><td>MSVC
</td></tr>
144 <table class=
"feature cpu">
145 <tr><td>x86
<br>x64
</td><td>ARM
<br>ARM64
</td><td>PPC
</td><td>MIPS32
<br>MIPS64
</td></tr>
147 <table class=
"feature fcompat">
148 <tr><td>Lua
5.1<br>API+ABI
</td><td>+
JIT
</td><td>+
BitOp
</td><td>+
FFI
</td><td>Drop-in
<br>DLL/.so
</td></tr>
152 <p style=
"margin-top: 1em;">
153 LuaJIT has been successfully used as a
<b>scripting middleware
</b> in
154 games, appliances, network and graphics apps, numerical simulations,
155 trading platforms and many other specialty applications.
158 LuaJIT is part of a hundred million web sites, huge SaaS installations,
159 network switches, set-top boxes and other embedded devices. You've probably
160 already used LuaJIT without knowing about it.
163 LuaJIT scales from embedded devices, smartphones, desktops up to server
164 farms. It combines high flexibility with high performance and an unmatched
165 <b>low memory footprint
</b>.
168 LuaJIT has been in continuous development since
2005. It's widely
169 considered to be
<b>one of the fastest dynamic language
170 implementations
</b>. It has outperformed other dynamic languages on many
171 cross-language benchmarks since its first release
— often by a
175 For
<b>LuaJIT
2.0</b>, the whole VM has been rewritten from the ground up
176 and relentlessly optimized for performance. It combines a
<b>high-speed
177 interpreter
</b>, written in assembler, with a
<b>state-of-the-art JIT
181 An innovative
<b>trace compiler
</b> is integrated with advanced,
182 SSA-based optimizations and highly tuned code generation backends.
183 A substantial reduction of the overhead associated with dynamic languages
184 allows it to break into the performance range traditionally reserved for
185 offline, static language compilers.
190 Please select a sub-topic in the navigation bar to learn more about LuaJIT.
196 Copyright
© 2005-
2023
197 <span class=
"noprint">
199 <a href=
"contact.html">Contact
</a>