Boost.Python is difficult to understand, far more than SWIG. It may be
faster, but I don't think it is worth it ATM.
Binding C++ classes with SWIG is really simple.

Matthieu

2008/11/25 Olivier Grisel <[EMAIL PROTECTED]>:
> 2008/11/25  <[EMAIL PROTECTED]>:
>> On Nov 25, 4:34 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>>
>>> You can't use ctypes for C++, only for C-style APIs.
>>>
>>> Diez
>>
>> With some work, you can convert your C++ objects to PyObject* and then
>> return the latter in a function with C bindings.
>
> http://cython.org also has some support for C++ bindings.
>
> I also heard that Boost.Python is very well suited to make full
> featured C++ / python bindings though I never tried myself.
>
> --
> Olivier
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to