Friday, September 3, 2010

pycxx vs. cython for python + c++

cython apparently has some capability for wrapping c++, with some workarounds and remaining issues as of v0.13. pycxx (or cxx) takes on the interface question from the c++ side, giving python a more c++ friendly api that can call/access either from the other (though i think python is still intended to be in the driver's seat).
i guess the question is whether i want to use more c++ (with pycxx) or a pythonesque third language (cython pyx).
i've seen some references to using c++ with weave.accelerate, but not sure if that has any advantage over either of the other two.

No comments: