News for hackers. Stuff that matters.
Re:Using the Cython Compiler to write fast Python code by another on Friday October 29, 2010 @12:41AM (#1846167)
I'm not sure of your needs, but there's now reasonable support for efficient interaction with numpy arrays; see, eg

http://docs.cython.org/src/tutorial/numpy.html

and/or

http://conference.scipy.org/proceedings/SciPy2009/paper_2/fu...

Some types of array addressing will take the slower---but still correct---invocation path through Python, but the common form is compiled to direct (albeit strided) array access.

Re:Using the Cython Compiler to write fast Python code by baltcode on Friday October 29, 2010 @02:03AM (#1846334)
Thanks, that looks great! I used to do stuff like that with weave. It would be interesting to see the speed comparison for weave and cython.