Python:C++ interfacing. Tool selection recommendations
Diez B. Roggisch
deets at nospam.web.de
Fri Sep 16 10:43:04 EDT 2005
adsheehan at eircom.net wrote:
> Hi,
>
> I am embedding Python with a C++ app and need to provide the Python
> world with access to objects & data with the C++ world.
>
> I am aware or SWIG, BOOST, SIP. Are there more?
>
> I welcome comments of the pros/cons of each and recommendations on when
> it appropriate to select one over the others.
SWIG is rather primitive - to get OO-Style Objects, you need to create
python wrappers yourself, that have an object-reference and call all
generated wrapper functions with that as fisrt argument. SIP is way more
elegant in thast respect. I never tried boost.
Diez
More information about the Python-list
mailing list