Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plan to support AOT compilation or iOS? #197

Open
warvstar opened this issue Jul 21, 2020 · 3 comments
Open

Any plan to support AOT compilation or iOS? #197

warvstar opened this issue Jul 21, 2020 · 3 comments

Comments

@warvstar
Copy link

warvstar commented Jul 21, 2020

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

@cinterloper
Copy link

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

@dibyendumajumdar
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants