LuaBind vs ToLua
Posted: Sat Nov 01, 2008 10:44 am
This question is sorta directed towards falco but any other input is welcome.
Anyways now that I've finished getting my project switched to ogl I'm about to stick in lua and I'm not exactly sure which I should use, So
I know you guys are using tolua and up till now I've been luabind in my testing project but it adds way too much to compile time plus I don't
think I'll be using even 1/4 of its features anyway so I've decided to go with eather tolua++ or mluabind.
I've been able to build mluabind and from what i've seen of examples its not too different from luabind which is good although i have been getting
a weird lua stack error whenever I quit but that's probably my fault, Tolua however is suposed to make all the luabindings its self I believe so that
would be very useful although I had some trouble when I tried building it since I didn't really know how to.
So basically I was wondering how tolua is working for you guys, how to get it set up and if I could see an example of it at work.
Anyways now that I've finished getting my project switched to ogl I'm about to stick in lua and I'm not exactly sure which I should use, So
I know you guys are using tolua and up till now I've been luabind in my testing project but it adds way too much to compile time plus I don't
think I'll be using even 1/4 of its features anyway so I've decided to go with eather tolua++ or mluabind.
I've been able to build mluabind and from what i've seen of examples its not too different from luabind which is good although i have been getting
a weird lua stack error whenever I quit but that's probably my fault, Tolua however is suposed to make all the luabindings its self I believe so that
would be very useful although I had some trouble when I tried building it since I didn't really know how to.
So basically I was wondering how tolua is working for you guys, how to get it set up and if I could see an example of it at work.