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

Ondrej Certik ondrej at certik.cz
Tue Feb 5 06:31:58 EST 2008


On Feb 5, 2008 11:52 AM, Gael Varoquaux <gael.varoquaux at 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