What are the differences between SWIG and Boost.Python?

Michael Hudson mwh at python.net
Thu Apr 10 05:38:33 EDT 2003


Dominic <oblivious at web.de> writes:

> > But it's especially nice to wrap C with Pyrex because it VERY easy to adapt
> > interface to pythonic way.
> 
> Pyrex is a very nice tool :) I like it very much.
> 
> I have used it to glue xmms-control with a
> python script. The char* strings returned
> by xmms need to be freed which can be
> easily done with Pyrex and a
> two line utilitiy function.
> My previous swig wrapped functions
> simply leaked the memory :(

Heh, I just rewrote libxmms in Python...

Cheers,
M.

-- 
  No.  In fact, my eyeballs fell out just from reading this question,
  so it's a good thing I can touch-type.
                                    -- John Baez, sci.physics.research




More information about the Python-list mailing list