[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: cgit-lua: to jit or not to jit
- From: Coda Highland <chighland@...>
- Date: Tue, 14 Jan 2014 12:50:09 -0800
On Tue, Jan 14, 2014 at 12:41 PM, Eric Wing <ewmailing@gmail.com> wrote:
>> But perhaps there
>> are some obvious downsides to this approach that I also am missing.
>
> Here are a few more potential downsides not mentioned so far.
>
> One is that iOS and Windows Store policies disallow JIT. While you can
> disable this part in LuaJIT, most of the performance advantages
> disappear when you do this.
However, even with the JIT disabled, LuaJIT does tend to outperform
Lua for a lot of use cases (Lua wins in a few cases) just by virtue of
having an interpreter written in hand-tuned assembly.
/s/ Adam