After some researches, i found that Cocos2d-x lua is binding on top of C++, which make sense to me, since Cocos2d-x is c++ version of Cocos2d. But when I saw this Wiki, it seems they have some sort of information about binding c++ and java to lua, but when I clicked the link it said to be determined. And this confuse me a little, why Cocos2d-x lua still need to bind C++ to it?
I looked into Luabind here, it stated that "It (Luabind) has the ability to expose functions and classes, written in C++, to Lua. It will also supply the functionality to define classes in lua and let them derive from other lua classes or C++ classes." And I still not quit getting it, what is binding and what does it do actually?
If you know any good source or good tutorial to teach how to bind C++ and java to Cocos2d-x lua, I would very appreciate you share here.
Thank you in advance for your time and answers