On Thu, Jul 15, 2010 at 7:24 AM, Neal Becker <[email protected]> wrote:
> What is the current state of using cython to expose numpy arrays to c++
> code?
>
> I have the (typical) setup of python for high-level code, c++ for
> specialized algorithms.  I'm using numpy as the containers.
>
> My c++ algorithms are usually written to a generic c++ (boost::range-based)
> interface.
>
> Currently, the best solution I know of is to use boost::python and pyublas
> to interface.
>
> Are there any cython examples?  Has any of the recent cython work made
> cython more attractive for this use?

Are you trying to create C++ wrappers for NumPy arrays? In this case
Cython is almost certainly the wrong tool. The new C++ features allow
you to more easily use C++ libraries,  not write arbitrary C++ code.

- Robert
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to