[Numpy-discussion] Numpy and C++ integration...

Ondrej Certik ondrej@certik...
Tue Feb 5 05:31:58 CST 2008


On Feb 5, 2008 11:52 AM, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:
> On Tue, Feb 05, 2008 at 11:48:38AM +0100, Ondrej Certik wrote:
> > I use Cython, mostly for the same reasons Gael is using ctypes - it's trivial.
>
> Actually, when I want to do something really trivial, I use
> scipy.weave.inline ( see http://scipy.org/PerformancePython for an
> example of scipy.weave.inline use). Of course it doesn't work when
> linking to external libraries, but to accelerate a for loop, it's great.

Yep. The power of Cython/Pyrex strategy is that you can work as I
described here:

http://ondrej.certik.cz/development/

Ondrej


More information about the Numpy-discussion mailing list