Re: luajit and iOS

  • From: Steve Dekorte <steve@xxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 4 Sep 2012 18:17:58 -0700

Hi Tom,

I'm not an expert on this but my understanding is that iOS doesn't allow 
non-Apple user 
processes to mark new pages of memory as executable which is something that 
JITs need to do.

I've heard the LuaJIT interpreter is ~4x faster than the standard Lua 
interpreter on on iOS but
haven't tested it myself yet.

Steve

On 2012-09-04 Tue, at 05:58 PM, Tom Yaxley <tommitytom@xxxxxxxxx> wrote:
> I posted this on the lua mailing list and it was recommended that I
> post here instead:
> 
> I'm aware that luajit can only be interpreted on iOS, but I was
> curious if this is a physical limitation of iDevices, or just a
> software limitation?  For instance, could the jit compiler be used on
> a jailbroken iDevice?  Secondly, is it possible o compile the jit code
> somehow so it can be loaded on an iDevice?  Since then it wouldn't
> have to do any generation at runtime (or maybe it would, I'm not sure
> of the exact internals of luajit :)  Cheers!
> 


Other related posts: