lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


------Original Message------
From: Hakki Dogusan
Sender: lua-bounces@bazar2.conectiva.com.br
To: Lua list
ReplyTo: Lua list
Sent: Nov 26, 2008 15:09
Subject: Re: Explicit call of C++ destructors from within Lua (Lunar based)

Hi,

Michael Bauroth wrote:
> Hi Hakki,
> 
> I would strongly prefer LuaBind at the moment, because it seems the 
> easiest way to write an LuaBaseClass with an abstract Bind() method, so 
> that each C++ class only needs to implement this method with the needed 
> binding stuff.
> 
> WDYT
> 

I didn't use LuaBind, can't comment about it.

I used SWIG (for Python) and toLua (once, for Lua 4.x?) for binding of a 
C++ library. Whenever a new Python version is released, someone asks for 
my binding for it. I re-generate binding with SWIG, compile, upload it 
.. (Funny thing is, I'm not using neither my binding nor target library 
and Python since Python-1.5. Since target library is a commercial 
product, I can't open source my SWIG interface '*.i' files, neither. :) )

Nowadays, I'm using Lunar or manual binding.

But, I always seperate C++ implementation with binding implementation 
for my code. I don't have another option for a foreign library, anyway :)


> Regards
> Micha
> 
> 
> Hakki Dogusan schrieb:
>> [snip]

--
Regards,
Hakki Dogusan



Sent from my BlackBerry® wireless device