Commit 09264b66 authored by Antoine Pitrou's avatar Antoine Pitrou

Mention Cython and remove obsolete alternatives

parent eb50ba5a
...@@ -418,11 +418,9 @@ much speed. ...@@ -418,11 +418,9 @@ much speed.
.. XXX check which of these projects are still alive .. XXX check which of these projects are still alive
There are also several programs which make it easier to intermingle Python and C There are also several programs which make it easier to intermingle Python and C
code in various ways to increase performance. See, for example, `Psyco code in various ways to increase performance. See, for example, `Cython
<http://psyco.sourceforge.net/>`_, `Pyrex <http://cython.org/>`_, `Pyrex
<http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_, `PyInline <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ and `Weave
<http://pyinline.sourceforge.net/>`_, `Py2Cmod
<http://sourceforge.net/projects/py2cmod/>`_, and `Weave
<http://www.scipy.org/Weave>`_. <http://www.scipy.org/Weave>`_.
......
...@@ -45,10 +45,11 @@ time-critical functions in your code, and gain a significant improvement with ...@@ -45,10 +45,11 @@ time-critical functions in your code, and gain a significant improvement with
very little effort, as long as you're running on a machine with an very little effort, as long as you're running on a machine with an
x86-compatible processor. x86-compatible processor.
`Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ is a compiler `Cython <http://cython.org>`_ and its relative `Pyrex
that accepts a slightly modified form of Python and generates the corresponding <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ are compilers
C code. Pyrex makes it possible to write an extension without having to learn that accept a slightly modified form of Python and generate the corresponding
Python's C API. C code. Cython and Pyrex make it possible to write an extension without having
to learn Python's C API.
If you need to interface to some C or C++ library for which no Python extension If you need to interface to some C or C++ library for which no Python extension
currently exists, you can try wrapping the library's data types and functions currently exists, you can try wrapping the library's data types and functions
......
...@@ -127,9 +127,9 @@ increased speed. ...@@ -127,9 +127,9 @@ increased speed.
.. XXX seems to have overlap with other questions! .. XXX seems to have overlap with other questions!
`Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_ can compile a `Cython <http://cython.org>`_ and `Pyrex <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_
slightly modified version of Python code into a C extension, and can be used on can compile a slightly modified version of Python code into a C extension, and
many different platforms. can be used on many different platforms.
`Psyco <http://psyco.sourceforge.net>`_ is a just-in-time compiler that `Psyco <http://psyco.sourceforge.net>`_ is a just-in-time compiler that
translates Python code into x86 assembly language. If you can use it, Psyco can translates Python code into x86 assembly language. If you can use it, Psyco can
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment