On 6/6/2014 7:11 AM, Alain Ketterlin wrote:
Terry Reedy <tjre...@udel.edu> writes:

On 6/5/2014 4:07 PM, Alain Ketterlin wrote:

When I compile Cython modules I use LLVM on this computer.

Cython is not Python, it is another language, with an incompatible

Cython compiles Python with optional extensions that allow additional
speed ups over compiling Python as is. In other word, the Cython
language is a Python superset.

I am assuming here that the claim to have reached this goal is correct.

You're right. What I question is the fact that anybody uses Cython
without the additional syntax. There is little chance that a "pure"
Python program will see any significant speedup when compiled with

I believe the Cython author has claimed a 2x-5x speedup for stdlib modules when compiled 'as is'.

Cython (or, if it does, it means that the "canonical" Python interpreter
has some sub-optimal behavior that will, eventually, be corrected).

I believe that there is some inherent overhead that Cython bypasses.

Terry Jan Reedy


Reply via email to