On Fri, 16 Sep 2005 12:04:40 -0400, Neal Becker <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] 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.
>
> boost::python is alien technology.  It is amazingly powerful.  Once you
> learn how to use it it's wonderful, but unless you are comfortable with
> modern c++ you may find the learning curve steep.

That last part sounds like a good thing -- if the OP dealing with C++ code,
he should be, or become, comfortable with modern C++.

In my other life as a C++ programmer, I'm thoroughly fed up with people who
keep writing 1980s-style C++ ...

(I wonder, by the way, if it's a good idea to provide a very rich interface
between an application and embedded Python. I have no experience in the
area, but intuition tells me that simplicity and minimalism is important.
How well has this worked out in past projects?)

/Jorgen

-- 
  // Jorgen Grahn <jgrahn@       Ph'nglui mglw'nafh Cthulhu
\X/                algonet.se>   R'lyeh wgah'nagl fhtagn!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to