[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can't pass a struct by value to LuaJIT FFI varargs function?
- From: Wesley Smith <wesley.hoke@...>
- Date: Mon, 24 Jan 2011 20:18:04 -0500
> Well, maybe the pure LuaJIT interpreter (the speedup isn't too
> shabby). The JIT compiler requires the ability to mark memory
> pages as executable at runtime. AFAIK this is blocked by the
> kernel on a non-unlocked phone. But iOS is not a primary target,
> so you'll have to find out yourself.
Out of curiosity, might there be a way to precompile whatever code the
FFI generates or is the marking of memory pages required by the
runtime and not just the compiler?
wes