[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Ravi performance update
- From: Paige DePol <lual@...>
- Date: Wed, 15 Jul 2015 21:42:58 -0500
Coda Highland <email@example.com> wrote:
> On Wed, Jul 15, 2015 at 6:28 PM, Paige DePol <firstname.lastname@example.org> wrote:
>> I do not know much about LuaJIT, is it a totally standalone compiler
>> for lua code not based on any other compiler system?
> Yes, it's completely hand-constructed. Additionally, it's explicitly a
> JIT ("just-in-time") compiler, with no AOT ("ahead-of-time")
>> Hmm, I guess I am left wondering what magic LuaJIT is doing to achieve
>> such dramatic compilation speeds compared to LLVM or GCC?
> Lua is a VERY small language. Specializing for the specific set of
> functionality that Lua needs allows the compiler to be made more
> compact and efficient than a more general-purpose compiler
> /s/ Adam
Thank you very much for that fantastic explanation of LuaJIT!
I had wondered how it worked, but have not yet had time to devote
to the world of compiling Lua and JIT vs AOT techniques.
You have shed some light into a dark corner for me! ;)