FFI: Fix compilation of reference field access.
[luajit-2.0.git] / doc / status.html
blobddcaed33261d12761ddf892e712791de67bf6801
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>Status &amp; Roadmap</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-2014, 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 <style type="text/css">
12 ul li { padding-bottom: 0.3em; }
13 </style>
14 </head>
15 <body>
16 <div id="site">
17 <a href="http://luajit.org"><span>Lua<span id="logo">JIT</span></span></a>
18 </div>
19 <div id="head">
20 <h1>Status &amp; Roadmap</h1>
21 </div>
22 <div id="nav">
23 <ul><li>
24 <a href="luajit.html">LuaJIT</a>
25 <ul><li>
26 <a href="http://luajit.org/download.html">Download <span class="ext">&raquo;</span></a>
27 </li><li>
28 <a href="install.html">Installation</a>
29 </li><li>
30 <a href="running.html">Running</a>
31 </li></ul>
32 </li><li>
33 <a href="extensions.html">Extensions</a>
34 <ul><li>
35 <a href="ext_ffi.html">FFI Library</a>
36 <ul><li>
37 <a href="ext_ffi_tutorial.html">FFI Tutorial</a>
38 </li><li>
39 <a href="ext_ffi_api.html">ffi.* API</a>
40 </li><li>
41 <a href="ext_ffi_semantics.html">FFI Semantics</a>
42 </li></ul>
43 </li><li>
44 <a href="ext_jit.html">jit.* Library</a>
45 </li><li>
46 <a href="ext_c_api.html">Lua/C API</a>
47 </li></ul>
48 </li><li>
49 <a class="current" href="status.html">Status</a>
50 <ul><li>
51 <a href="changes.html">Changes</a>
52 </li></ul>
53 </li><li>
54 <a href="faq.html">FAQ</a>
55 </li><li>
56 <a href="http://luajit.org/performance.html">Performance <span class="ext">&raquo;</span></a>
57 </li><li>
58 <a href="http://wiki.luajit.org/">Wiki <span class="ext">&raquo;</span></a>
59 </li><li>
60 <a href="http://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
61 </li></ul>
62 </div>
63 <div id="main">
64 <p>
65 <span style="color: #0000c0;">LuaJIT&nbsp;2.0</span> is the current
66 <span style="color: #0000c0;">stable branch</span>. This branch is in
67 feature-freeze &mdash; new features will only be added to LuaJIT&nbsp;2.1.
68 </p>
70 <h2>Current Status</h2>
71 <p>
72 LuaJIT ought to run all Lua&nbsp;5.1-compatible source code just fine.
73 It's considered a serious bug if the VM crashes or produces unexpected
74 results &mdash; please report this.
75 </p>
76 <p>
77 Known incompatibilities and issues in LuaJIT&nbsp;2.0:
78 </p>
79 <ul>
80 <li>
81 There are some differences in <b>implementation-defined</b> behavior.
82 These either have a good reason, are arbitrary design choices
83 or are due to quirks in the VM. The latter cases may get fixed if a
84 demonstrable need is shown.
85 </li>
86 <li>
87 The Lua <b>debug API</b> is missing a couple of features (return
88 hooks for non-Lua functions) and shows slightly different behavior
89 in LuaJIT (no per-coroutine hooks, no tail call counting).
90 </li>
91 <li>
92 Some checks are missing in the JIT-compiled code for obscure situations
93 with <b>open upvalues aliasing</b> one of the SSA slots later on (or
94 vice versa). Bonus points, if you can find a real world test case for
95 this.
96 </li>
97 <li>
98 Currently some <b>out-of-memory</b> errors from <b>on-trace code</b> are not
99 handled correctly. The error may fall through an on-trace
100 <tt>pcall</tt> or it may be passed on to the function set with
101 <tt>lua_atpanic</tt> on x64. This issue will be fixed with the new
102 garbage collector.
103 </li>
104 </ul>
106 <h2>Roadmap</h2>
108 Please refer to the
109 <a href="http://www.freelists.org/post/luajit/LuaJIT-Roadmap-20122013"><span class="ext">&raquo;</span>&nbsp;LuaJIT Roadmap 2012/2013</a> and an
110 <a href="http://www.freelists.org/post/luajit/LuaJIT-Roadmap-20122013-UPDATE"><span class="ext">&raquo;</span>&nbsp;update on release planning</a> for details.
111 </p>
113 </p>
114 <br class="flush">
115 </div>
116 <div id="foot">
117 <hr class="hide">
118 Copyright &copy; 2005-2014 Mike Pall
119 <span class="noprint">
120 &middot;
121 <a href="contact.html">Contact</a>
122 </span>
123 </div>
124 </body>
125 </html>