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

What is the difference between nlua and keralua? #511

Open
unicornlox opened this issue Dec 18, 2023 · 3 comments
Open

What is the difference between nlua and keralua? #511

unicornlox opened this issue Dec 18, 2023 · 3 comments

Comments

@unicornlox
Copy link

What is the difference between nlua and keralua? which library should we use in which situation?

@viniciusjarina
Copy link
Member

KeraLua is 1:1 projection of Lua C library to C#/.NET
NLua uses that projection to dynamically invoke methods/properties etc using reflection

@unicornlox
Copy link
Author

@viniciusjarina Thank you very much for your answer, so keralua and nlua are not alternatives to each other, do I understand correctly?

@viniciusjarina
Copy link
Member

NLua uses KeraLua. You could use KeraLua if you want a simple binding from C# to Lua without requiring a lot of reflection.
I strongly recommend the Lua author book https://www.amazon.com/Programming-Lua-Fourth-Roberto-Ierusalimschy/dp/8590379868/

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

2 participants