What are the differences between SWIG and Boost.Python?

Dominic oblivious at web.de
Wed Apr 9 14:45:57 EDT 2003


> 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 :(

Ciao,
  Dominic





More information about the Python-list mailing list