What are the differences between SWIG and Boost.Python?

Phil Thompson phil at river-bank.demon.co.uk
Fri Apr 4 18:01:19 EST 2003


SIP is used to wrap PyQt which is C++ and 300+ classes, just under 6000 
methods.

Phil

On Friday 04 April 2003 11:20 pm, Mike Rovner wrote:
> FWIW, I decided for myself:
>
> - wrap small C libs with Pyrex,
> - wrap big C libs with SWIG,
> - wrap small C++ libs with boost.python,
> - wrap big C++ with (I still have to do that ;)
>
> Mike
>
> PS.
> For me small is tens, big is hundreds and more
>
> "sdieselil" <sdieselil at yahoo.com> wrote in message
> news:169a7283.0304040821.9ad0976 at posting.google.com...
>
> > Hi
> >
> > I want to write C extension for Python. I know that there are 2 most
> > popular libraris for this purpose: SWIG and Boost.Python. What are the
> > differences between them? Which one is better for little extensions
> > and which is better for large-scale extensions?
> > --
> > http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list