lua-users home
lua-l archive

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


On Thu, Feb 26, 2015 at 8:22 PM, Dibyendu Majumdar
<mobile@majumdar.org.uk> wrote:
> On 26 February 2015 at 12:11, Roberto Ierusalimschy
> <roberto@inf.puc-rio.br> wrote:
>>> I posted a few days ago that I would be happy to specify an API to
>>> attach a JIT compiler to Lua. I am still hoping this will be of
>>> interest, as an optional JIT compiler for Lua will be an asset I
>>> think.
>>
>> It looks like you want some kind of answer, but I do not know what
>> kind of answer you expect.
>>
>> - If you want something like "Sure, we will look into it", we look into
>> practically everything that is proposed in this list, so you do not need
>> any answer.
>>
>
> I was expecting "No, it won't ever happen" but hoping for "Sure, we will look
> into it". It is good to know no answer means latter and not former.
>
> Regards
> Dibyendu
>

I think, the only practical advantage of the approach you are working
at compared to reference Lua might be a faster execution. If it is the
main reason, look at LuaJIT, it is very very fast being at the same
time compatible with reference Lua 5.1. If LuaJIT is not fast enough
for your purposes, you should make a C module, which is of course
statically typed, as C is statically typed.


Best regards,
Boris Nagaev