SWIG and SIP

Lyle Johnson lyle at users.sourceforge.net
Thu Aug 22 11:35:09 EDT 2002


Achim Domma wrote:
> I haven't use SIP so far and have only little experiences with SWIG, because
> I prefere boost.python. But from what I know I would say that the choice
> depends from the kind of C++ interface you want to expose. SWIG seems to be
> very easy if you have a simple interface (no crazy C++ constructs) but if
> you have to return pointers for example, the upcoming boost.python 2 seems
> much more powerfull to me.

SWIG actually handles "crazy C++ constructs" pretty well. Please see:

	http://www.swig.org/myths.html

Thanks,

Lyle




More information about the Python-list mailing list