<s>
LuaJIT	B-Application
is	O
a	O
tracing	B-Application
just	I-Application
in	I-Application
time	I-Application
compiler	I-Application
for	O
the	O
Lua	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
The	O
LuaJIT	B-Application
project	O
was	O
started	O
in	O
2005	O
by	O
developer	O
Mike	O
Pall	O
,	O
released	O
under	O
the	O
MIT	O
open	O
source	O
license	O
.	O
</s>
<s>
LuaJIT	B-Application
is	O
often	O
the	O
fastest	O
Lua	B-Language
runtime	O
.	O
</s>
<s>
LuaJIT	B-Application
has	O
also	O
been	O
named	O
the	O
fastest	O
implementation	O
of	O
a	O
dynamic	O
programming	O
language	O
.	O
</s>
<s>
LuaJIT	B-Application
is	O
sometimes	O
hailed	O
as	O
competitive	O
to	O
the	O
performance	O
of	O
C++	B-Language
.	O
</s>
<s>
LuaJIT	B-Application
includes	O
a	O
Foreign	B-Application
Function	I-Application
Interface	I-Application
compatible	O
with	O
C	B-Language
data	O
structures	O
.	O
</s>
<s>
LuaJIT	B-Application
is	O
a	O
tracing	B-Application
just-in-time	I-Application
compiler	I-Application
.	O
</s>
<s>
LuaJIT	B-Application
chooses	O
loops	O
and	O
function	O
calls	O
as	O
trace	O
anchors	O
to	O
begin	O
recording	O
possible	O
hot	O
paths	O
.	O
</s>
<s>
Once	O
LuaJIT	B-Application
begins	O
recording	O
,	O
all	O
control	O
flow	O
,	O
including	O
jumps	O
and	O
calls	O
,	O
are	O
inlined	O
to	O
form	O
a	O
linear	O
trace	O
.	O
</s>
<s>
All	O
executed	O
bytecode	O
instructions	O
are	O
stored	O
and	O
incrementally	O
converted	O
into	O
LuaJIT	B-Application
's	O
Static	O
single-assignment	O
Intermediate	B-Application
representation	I-Application
.	O
</s>
<s>
LuaJIT	B-Application
's	O
trace	O
compiler	O
is	O
often	O
capable	O
of	O
inlining	O
and	O
removing	O
dispatches	O
from	O
object	O
orientation	O
,	O
operators	O
,	O
and	O
type	O
modifications	O
.	O
</s>
<s>
LuaJIT	B-Application
uses	O
two	O
types	O
of	O
internal	O
representation	O
.	O
</s>
<s>
A	O
stack-based	B-Language
bytecode	I-Language
is	O
used	O
for	O
the	O
Interpreter	B-Application
(	O
computing	O
)	O
,	O
and	O
a	O
static-single	O
assignment	O
form	O
is	O
used	O
for	O
the	O
just-in-time	O
compiler	O
.	O
</s>
<s>
The	O
interpreter	B-Application
bytecode	O
is	O
frequently	O
patched	O
by	O
the	O
JIT	O
compiler	O
,	O
often	O
to	O
begin	O
executing	O
a	O
compiled	O
trace	O
or	O
to	O
mark	O
a	O
segment	O
of	O
bytecode	O
for	O
causing	O
too	O
many	O
trace	O
aborts	O
.	O
</s>
<s>
LuaJIT	B-Application
adds	O
several	O
extensions	O
to	O
its	O
base	O
implementation	O
,	O
Lua	B-Language
5.1	I-Language
,	O
most	O
of	O
which	O
do	O
not	O
break	O
compatibility	O
.	O
</s>
<s>
DynASM	O
is	O
a	O
lightweight	O
preprocessor	B-General_Concept
for	O
C	B-Language
which	O
was	O
created	O
for	O
LuaJIT	B-Application
1.0.0	O
to	O
make	O
developing	O
the	O
just-in-time	O
compiler	O
easier	O
.	O
</s>
<s>
DynASM	O
replaces	O
assembly	O
code	O
in	O
C	B-Language
files	O
with	O
runtime	O
writes	O
to	O
a	O
'	O
code	O
buffer	O
 '	O
,	O
such	O
that	O
a	O
developer	O
may	O
generate	O
and	O
then	O
evoke	O
code	O
at	O
runtime	O
from	O
a	O
C	B-Language
program	I-Language
.	O
</s>
<s>
DynASM	O
was	O
phased	O
out	O
in	O
LuaJIT	B-Application
2.0.0	O
after	O
a	O
complete	O
rewrite	O
of	O
the	O
assembler	O
,	O
but	O
remains	O
in	O
use	O
by	O
the	O
LuaJIT	B-Application
contributors	O
as	O
a	O
better	O
assembly	O
syntax	O
for	O
the	O
LuaJIT	B-Application
interpreter	B-Application
.	O
</s>
<s>
DynASM	O
includes	O
a	O
bare-bones	O
C	B-Language
header	I-Language
file	I-Language
which	O
is	O
used	O
at	O
compile	O
time	O
for	O
logic	O
the	O
preprocessor	B-General_Concept
generates	O
.	O
</s>
<s>
The	O
actual	O
preprocessor	B-General_Concept
is	O
written	O
in	O
Lua	B-Language
.	O
</s>
