Python / C++ integration
Laura Creighton
lac at strakt.com
Fri Feb 7 09:26:16 EST 2003
> On Fri, Feb 07, 2003 at 10:29:57AM +0000, Brandon Van Every wrote:
> > Andrew Bennetts wrote:
> > > On Fri, Feb 07, 2003 at 05:25:51AM +0000, Brandon Van Every wrote:
> > > [..snip..]
> > >> What are the pitfalls of trying to get classes to interoperate
> > >> between Python and C++?
> > >
> > > Have you looked at boost::python?
> >
> > I bookmarked it. Haven't so much as read the 0th page of the website. Wha
> t
> > have been your experiences regarding the integration issues I raised? Is
> > Boost popular / prime time / de facto?
>
> I haven't used it, but from what I've seen of it, it will definitely be what
> I look at first if I wish to use some C++ in Python[1]. It's also the most
> commonly recommended module for extending Python with C++, from what I've
> seen... the only other alternative that springs to mind (short of doing
> everything manually) is SWIG.
The other ones that my mind finds are Pyrex
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/version/Doc/About.html
and pyinline http://pyinline.sourceforge.net/
Laura
ps Brandon are you sure that LISP isn't what you want?
More information about the Python-list
mailing list