[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "Official" binding library
- From: Daniel Silverstone <dsilvers@...>
- Date: Mon, 5 Dec 2011 11:25:59 +0000
On Mon, Dec 05, 2011 at 03:09:16AM -0800, Jose Marin wrote:
> Is there a "official" binding library/tool for Lua?
It'd be tough for there to be anything more official than the API itself.
> I´ve used Lunar and tolua, what are you using?
Personally I always hand-roll my bindings in order to better match whatever
library I'm binding to the ways of Lua.
I find that automatic binding generators typically produce a binding which
feels no better than using the C interface and often results in huge Lua
wrappers to clean it up and make it Lua-ish. I also find that the API is neat,
easy to understand, and no harder to use than any of the "binding helpers" out
there.
Then again, I don't try and bind C++ and I don't try and bind dynamically
changing APIs.
D.
--
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69