C++ class derivation in Lua

<< < (2/6) > >>

David Pittman:
Nice introduction to luabind. I was looking into this last year and was a bit scared off by the binding syntax, but it really doesn't look so difficult the way you've presented it. I may have to revisit this for my next project.
 :beer:

Cymon:
A guy on my site wants to use Lua in one of his programs. Just one more thing I should be checking out. Man I wish I could do this for a living. Or at least the way I used to when I was a student.

diwil:
Quote from: dphrygian on October 07, 2008, 01:14:02 PM

Nice introduction to luabind. I was looking into this last year and was a bit scared off by the binding syntax, but it really doesn't look so difficult the way you've presented it. I may have to revisit this for my next project.
 :beer:

Yeah, the suntax was horrid when I first took a look at it, but after a few days it all started to make sense. :)

It's a shame luabind's manual doesn't have a reference chapter, so they don't cover half of the API's calls.

Hajo:
Quote from: dphrygian on October 07, 2008, 01:14:02 PM

Nice introduction to luabind. I was looking into this last year and was a bit scared off by the binding syntax, but it really doesn't look so difficult the way you've presented it.
 :beer:


I've been using Lua in one of my former projects, too, and also was scared of the thing. So I wrote a very simple binding by myself. It worked for the project, but it's definitely good to see how it's done right. Thank you for the tutorial :)

diwil:
You're welcome! :)

I used mostly luabind to see how it's done, but I'm not certain if I'll keep luabind in the project as is, if I manage to write my own definition of the functionality. I mean, having 8MB of extra sources in my project (and thus inflating my executable size) isn't something I enjoy, especially when it comes to compile times (I transfer my files back and forth between platforms through email every day, and the object files for the debug version tend to bloat).

I'll study Lua's own binding functions further next week, to see how I'll be able to implement the class binding on my own. I'll surely attach the results in the first post if I figure it out. :beer:

Navigation

[0] Message Index

[#] Next page

[*] Previous page