123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <html>
- <head>
- <title>LuaJIT</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="Author" content="Mike Pall">
- <meta name="Copyright" content="Copyright (C) 2005-2010, Mike Pall">
- <meta name="Language" content="en">
- <link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
- <link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
- <meta name="description" content="LuaJIT is a Just-In-Time (JIT) compiler for the Lua language.">
- </head>
- <body>
- <div id="site">
- <a href="http://luajit.org"><span>Lua<span id="logo">JIT</span></span></a>
- </div>
- <div id="head">
- <h1>LuaJIT</h1>
- </div>
- <div id="nav">
- <ul><li>
- <a class="current" href="luajit.html">LuaJIT</a>
- <ul><li>
- <a href="install.html">Installation</a>
- </li><li>
- <a href="running.html">Running</a>
- </li><li>
- <a href="api.html">API Extensions</a>
- </li></ul>
- </li><li>
- <a href="status.html">Status</a>
- <ul><li>
- <a href="changes.html">Changes</a>
- </li></ul>
- </li><li>
- <a href="faq.html">FAQ</a>
- </li><li>
- <a href="http://luajit.org/download.html">Download <span class="ext">»</span></a>
- </li></ul>
- </div>
- <div id="main">
- <p>
- LuaJIT is a <b>Just-In-Time Compiler</b> for the Lua<sup>*</sup>
- programming language.
- </p>
- <p>
- LuaJIT is Copyright © 2005-2010 Mike Pall.
- LuaJIT is open source software, released under the
- <a href="http://www.opensource.org/licenses/mit-license.php"><span class="ext">»</span> MIT/X license</a>.
- </p>
- <p class="indent" style="color: #606060;">
- * Lua is a powerful, dynamic and light-weight programming language
- designed for extending applications. Lua is also frequently used as a
- general-purpose, stand-alone language. More information about
- Lua can be found at: <a href="http://www.lua.org/"><span class="ext">»</span> http://www.lua.org/</a>
- </p>
- <h2>Compatibility</h2>
- <p>
- LuaJIT implements the full set of language features defined by Lua 5.1.
- The virtual machine (VM) is <b>API- and ABI-compatible</b> to the
- standard Lua interpreter and can be deployed as a drop-in replacement.
- </p>
- <p>
- LuaJIT offers more performance, at the expense of portability. It
- currently runs on all popular operating systems based on
- <b>x86 or x64 CPUs</b> (Linux, Windows, OSX etc.).
- Other platforms will be supported in the future, based on user demand
- and sponsoring.
- </p>
- <h2>Overview</h2>
- <p>
- LuaJIT has been successfully used as a <b>scripting middleware</b> in
- games, 3D modellers, numerical simulations, trading platforms and many
- other specialty applications. It combines high flexibility with high
- performance and an unmatched <b>low memory footprint</b>: less than
- <b>120K</b> for the VM plus less than <b>80K</b> for the JIT compiler.
- </p>
- <p>
- LuaJIT has been in continuous development since 2005. It's widely
- considered to be <b>one of the fastest dynamic language
- implementations</b>. It has outperfomed other dynamic languages on many
- cross-language benchmarks since its first release — often by a
- substantial margin. In 2009 other dynamic language VMs started to catch up
- with the performance of LuaJIT 1.x. Well, I couldn't let that slide. ;-)
- </p>
- <p>
- 2009 also marks the first release of the long-awaited <b>LuaJIT 2.0</b>.
- The whole VM has been rewritten from the ground up and relentlessly
- optimized for performance. It combines a high-speed interpreter,
- written in assembler, with a state-of-the-art JIT compiler.
- </p>
- <p>
- An innovative <b>trace compiler</b> is integrated with advanced,
- SSA-based optimizations and a highly tuned code generation backend. This
- allows a substantial reduction of the overhead associated with dynamic
- language features. It's destined to break into the performance range
- traditionally reserved for offline, static language compilers.
- </p>
- <h2>More ...</h2>
- <p>
- Click on the LuaJIT sub-topics in the navigation bar to learn more
- about LuaJIT.
- </p>
- <p><p>
- Click on the Logo in the upper left corner to visit
- the LuaJIT project page on the web. All other links to online
- resources are marked with a '<span class="ext">»</span>'.
- </p>
- <br class="flush">
- </div>
- <div id="foot">
- <hr class="hide">
- Copyright © 2005-2010 Mike Pall
- <span class="noprint">
- ·
- <a href="contact.html">Contact</a>
- </span>
- </div>
- </body>
- </html>
|