[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] swig
From: |
Thomas Chust |
Subject: |
Re: [Chicken-users] swig |
Date: |
Wed, 1 Dec 2010 16:05:47 +0100 |
2010/12/1 Peter Bex <address@hidden>:
> [...]
> I never really got the point of Swig; what does it do that you can't
> use the FFI or the bind egg for?
> [...]
Hello,
I can think of two advantages SWIG has: It is relatively easy to
create bindings for several different scripting languages from the
same interface definition. And in contrast to most FFIs I know it is
relatively easy to create wrappers for C++ libraries even if you need
advanced features like inheritance chains crossing the language
boundaries.
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like your thumb.