[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ANN: Alien 0.3.1
- From: "Fabio Mascarenhas" <mascarenhas@...>
- Date: Thu, 14 Feb 2008 12:12:15 -0200
On Thu, Feb 14, 2008 at 11:34 AM, dcharno <firstname.lastname@example.org> wrote:
> > Enjoy the GPL-free Alien 0.3.1!
> Is it possible to call C++ classes?
No. For C++ you are much better using a source level tool such as
tolua, or writing a thin C wrapper around the C++ library and calling
*that* with Alien. For popular C++ libraries check if someone has
already written this C wrapper for you, a lot of people won't touch
C++ with a ten feet pole.
On Thu, Feb 14, 2008 at 10:35 AM, Javier Guerra Giraldez
> and that's where alien could really shine! by allowing that layer to be
> written in Lua instead of C.
> wouldn't that be great? imagine if new bindings could be distributed just as a
> few Lua scripts starting with require("alien")
Plus you can bind to C libraries without tying your code to the Lua C
API. Port Alien to use JNI and Kahlua scripts can use extensions
written with Alien with no changes. It is portability across Lua