diff options
Diffstat (limited to 'doc/luajit.html')
-rw-r--r-- | doc/luajit.html | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/doc/luajit.html b/doc/luajit.html new file mode 100644 index 00000000..9b16ea37 --- /dev/null +++ b/doc/luajit.html | |||
@@ -0,0 +1,120 @@ | |||
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>LuaJIT</title> | ||
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-2009, 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 | </head> | ||
12 | <body> | ||
13 | <div id="site"> | ||
14 | <a href="http://luajit.org"><span>Lua<span id="logo">JIT</span></span></a> | ||
15 | </div> | ||
16 | <div id="head"> | ||
17 | <h1>LuaJIT</h1> | ||
18 | </div> | ||
19 | <div id="nav"> | ||
20 | <ul><li> | ||
21 | <a class="current" href="luajit.html">LuaJIT</a> | ||
22 | <ul><li> | ||
23 | <a href="install.html">Installation</a> | ||
24 | </li><li> | ||
25 | <a href="running.html">Running</a> | ||
26 | </li><li> | ||
27 | <a href="api.html">API Extensions</a> | ||
28 | </li></ul> | ||
29 | </li><li> | ||
30 | <a href="status.html">Status</a> | ||
31 | <ul><li> | ||
32 | <a href="changes.html">Changes</a> | ||
33 | </li></ul> | ||
34 | </li><li> | ||
35 | <a href="faq.html">FAQ</a> | ||
36 | </li><li> | ||
37 | <a href="http://luajit.org/download.html">Download <span class="ext">»</span></a> | ||
38 | </li></ul> | ||
39 | </div> | ||
40 | <div id="main"> | ||
41 | <p> | ||
42 | LuaJIT is a <b>Just-In-Time Compiler</b> for the Lua<sup>*</sup> | ||
43 | programming language. | ||
44 | </p> | ||
45 | <p> | ||
46 | LuaJIT is Copyright © 2005-2008 Mike Pall. | ||
47 | LuaJIT is open source software, released under the | ||
48 | <a href="http://www.opensource.org/licenses/mit-license.php"><span class="ext">»</span> MIT/X license</a>. | ||
49 | </p> | ||
50 | <p class="indent" style="color: #606060;"> | ||
51 | * Lua is a powerful, dynamic and light-weight programming language | ||
52 | designed for extending applications. Lua is also frequently used as a | ||
53 | general-purpose, stand-alone language. More information about | ||
54 | Lua can be found at: <a href="http://www.lua.org/"><span class="ext">»</span> http://www.lua.org/</a> | ||
55 | </p> | ||
56 | <h2>Compatibility</h2> | ||
57 | <p> | ||
58 | LuaJIT implements the full set of language features defined by Lua 5.1. | ||
59 | The virtual machine (VM) is <b>API- and ABI-compatible</b> to the | ||
60 | standard Lua interpreter and can be deployed as a drop-in replacement. | ||
61 | </p> | ||
62 | <p> | ||
63 | LuaJIT offers more performance, at the expense of portability. It | ||
64 | currently runs on all popular operating systems based on <b>x86 CPUs</b> | ||
65 | (Linux, Windows, OSX etc.). It will be ported to x64 CPUs and other | ||
66 | platforms in the future, based on user demand and sponsoring. | ||
67 | </p> | ||
68 | |||
69 | <h2>Overview</h2> | ||
70 | <p> | ||
71 | LuaJIT has been successfully used as a <b>scripting middleware</b> in | ||
72 | games, 3D modellers, numerical simulations, trading platforms and many | ||
73 | other specialty applications. It combines high flexibility with high | ||
74 | performance and an unmatched <b>low memory footprint</b>: less than | ||
75 | <b>120K</b> for the VM plus less than <b>80K</b> for the JIT compiler. | ||
76 | </p> | ||
77 | <p> | ||
78 | LuaJIT has been in continuous development since 2005. It's widely | ||
79 | considered to be <b>one of the fastest dynamic language | ||
80 | implementations</b>. It has outperfomed other dynamic languages on many | ||
81 | cross-language benchmarks since its first release — often by a | ||
82 | substantial margin. Only now, in 2009, other dynamic language VMs are | ||
83 | starting to catch up with the performance of LuaJIT 1.x … | ||
84 | </p> | ||
85 | <p> | ||
86 | 2009 also marks the first release of the long-awaited <b>LuaJIT 2.0</b>. | ||
87 | The whole VM has been rewritten from the ground up and relentlessly | ||
88 | optimized for performance. It combines a high-speed interpreter, | ||
89 | written in assembler, with a state-of-the-art JIT compiler. | ||
90 | </p> | ||
91 | <p> | ||
92 | An innovative <b>trace compiler</b> is integrated with advanced, | ||
93 | SSA-based optimizations and a highly tuned code generation backend. This | ||
94 | allows a substantial reduction of the overhead associated with dynamic | ||
95 | language features. It's destined to break into the performance range | ||
96 | traditionally reserved for offline, static language compilers. | ||
97 | </p> | ||
98 | |||
99 | <h2>More ...</h2> | ||
100 | <p> | ||
101 | Click on the LuaJIT sub-topics in the navigation bar to learn more | ||
102 | about LuaJIT. | ||
103 | </p> | ||
104 | <p><p> | ||
105 | Click on the Logo in the upper left corner to visit | ||
106 | the LuaJIT project page on the web. All other links to online | ||
107 | resources are marked with a '<span class="ext">»</span>'. | ||
108 | </p> | ||
109 | <br class="flush"> | ||
110 | </div> | ||
111 | <div id="foot"> | ||
112 | <hr class="hide"> | ||
113 | Copyright © 2005-2009 Mike Pall | ||
114 | <span class="noprint"> | ||
115 | · | ||
116 | <a href="contact.html">Contact</a> | ||
117 | </span> | ||
118 | </div> | ||
119 | </body> | ||
120 | </html> | ||