Collin Winter, 21.01.2010 21:14:
> Cython is a super-set of Python, and files annotated for maximum
> Cython performance are no longer valid Python code, and will not run
> on any other Python implementation.

Except when you use plain Python annotations, in which case you get the
speed of Cython for regular Python code.

http://wiki.cython.org/pure

There's also the possibility to put the annotations into a separate .pxd
file next to the .py file, which then stays pure Python as well.

Anyway, I certainly see the advantages that a JIT compiler has over static
ahead-of-time compilation.

Stefan

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to