Future of Pypy?
Dave Cook
davecook at nowhere.net
Mon Feb 23 18:23:00 EST 2015
On 2015-02-23, Dave Farrance <DaveFarrance at OMiTTHiSyahooANDTHiS.co.uk> wrote:
> I did try Cython when I was trying to figure out what to do about the slow
> speed. My initial attempt showed no speedup at all. The documentation
> told me that I needed to change the data types to special C-like types, so
> it seemed to me that it would become half way between Python and C and
> would be as cumbersome to develop as C. So at that point, I just rewrote
> it in C.
Right, you have add type info to get the speedup. This can be done as
needed. What Cython provides is a transparent interface between the C
compiler and Python, without the need for any wrapper code. I'm
curious about the process you use to interface to C that is less
cumbersome.
Dave Cook
More information about the Python-list
mailing list