lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Great! Thank you very much for the ref. So, as a general remark,
luaJIT would be therefore just perfect to emulate any machine code
just-in-time. This makes in particular luaJIT really good for
performance simulators (ie cycle accurate) and directly does some code
translation from one ISA to another.... :-)

Cheers,
Ben



2011/7/6 Pierre-Yves Gérardy <pygy79@gmail.com>:
> On Wed, Jul 6, 2011 at 09:01, Benjamin Segovia
> <segovia.benjamin@gmail.com> wrote:
>> does tail call recursion abort traces?
>
> No. Tail calls are actually translated into native jump instructions.
> As a consequence, tail recursion is as fast as native loops.
>
> see http://lua-users.org/lists/lua-l/2010-02/msg00582.html
>
> -- Pierre-Yves
>
>