ravi icon indicating copy to clipboard operation
ravi copied to clipboard

Any plan to support AOT compilation or iOS?

Open warvstar opened this issue 4 years ago • 3 comments

Would be interesting so I could use Lua in a cross platform way without resorting to the interpreter.

warvstar avatar Jul 21 '20 20:07 warvstar

@warvstar you could try http://terralang.org/

cinterloper avatar Jul 21 '20 20:07 cinterloper

Hi, @warvstar

Both are interesting questions. Is there a reason why Ravi would not run on iOS? I have not tried it, but I guess it should just work in interpreter mode. As far as I know JIT is not permitted anyway.

AOT compilation is certainly interesting. However Lua programs can load code dynamically - for true AOT compilation, it would be necessary to disable all dynamic code gen. I think this is not easy to do, as we see even C# and Java do not have reliable AOT after years of trying...

dibyendumajumdar avatar Jul 21 '20 21:07 dibyendumajumdar

I think that eventually we can have AOT using #198.

dibyendumajumdar avatar Aug 27 '20 00:08 dibyendumajumdar