[Numpy-discussion] Numpy/Cython Google Summer of Code project idea
Joris De Ridder
Joris.DeRidder at ster.kuleuven.be
Thu Mar 6 18:13:04 EST 2008
On 06 Mar 2008, at 19:15, Fernando Perez wrote:
> http://www.cython.org/
> is an evolved version of Pyrex (which is used by numpy and scipy) with
> lots of improvements. We'd like to position Cython as the preferred
> way of writing most, if not all, new extension code written for numpy
> and scipy, as it is easier to write, get right, debug (when you still
> get it wrong) and maintain than writing to the raw Python-C API.
Could you explain a bit more why you think this is the best path to
follow?
Pyrex is kind of a dialect, so your extension modules would be nor
python nor C, but a third language. Is this indeed easier to maintain?
When you would like to use legacy C code for an extension, would you
rewrite it in Cython? What are Cython's advantages compared to ctypes?
Cheers,
Joris
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the NumPy-Discussion
mailing list