Abstract | ||
---|---|---|
Microsoft's Common Language Runtime offers a target environment for compiler writers that provides a managed execution environment and type system, garbage collection, access to OS services, multithreading, and a Just-In-Time compiler. But the CLR uses a statically typed intermediate language, which is a problem for efficient compilation of dynamically typed languages in general, and the Lua language in particular. This paper presents a way to implement a Lua compiler for the CLR that generates efficient code. The code this compiler generates outperforms the same code executed by the Lua interpreter and similar code generated by Microsoft's IronPython compiler. It approaches the performance of Lua code compiled to native code by LuaJIT. |
Year | DOI | Venue |
---|---|---|
2008 | 10.1145/1363686.1363743 | SAC |
Keywords | Field | DocType |
ironpython compiler,lua compiler,similar code,just-in-time compiler,efficient compilation,lua code,lua language,lua interpreter,compiler writer,native code,efficient code,clr,type system,code generation,dynamic typing,garbage collection,just in time compiler,common language runtime,compilers | Dead code elimination,Object code,Programming language,Dynamic compilation,Computer science,Compiler correctness,Code generation,Compiler,Compiler construction,Common Language Runtime,Operating system | Conference |
Citations | PageRank | References |
2 | 0.42 | 4 |
Authors | ||
2 |
Name | Order | Citations | PageRank |
---|---|---|---|
Fabio Mascarenhas | 1 | 28 | 5.29 |
Roberto Ierusalimschy | 2 | 463 | 54.25 |