Differences between revisions 10 and 11
Revision 10 as of 2006-04-28 07:31:52
Size: 970
Editor: cacheng
Comment:
Revision 11 as of 2006-04-28 07:32:35
Size: 964
Editor: cacheng
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
For a step-by-step guide to install to install Pyrex on Windows, see this: PyrexOnWindows For a step-by-step guide to Pyrex installation on Windows, see this: PyrexOnWindows

Pyrex is a python-like language for writing python extension modules. It can be described as python with C data types. You can produce with it code as fast as in C and access to C libraries is easy.

Homepage at http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/

Two main purposes of Pyrex usage are:

  • speed up a Python code
  • provide Python interface to existing C modules/libraries

For an example of speedup see [http://www.eby-sarna.com/pipermail/source-changes/2002q4/000749.html this message].

More examples and ideas at [http://www.prescod.net/python/pyrexopt/optimization.html].

You can also consider other Python speedup solutions: http://psyco.sf.net and ["weave"].

[http://www.freenet.org.nz/python/pyrexdoc pyrexdoc] is a tool for generating HTML documentation from a compiled Pyrex module, by DavidMcNab. See other DocumentationTools.

For a step-by-step guide to Pyrex installation on Windows, see this: PyrexOnWindows

Pyrex (last edited 2016-07-17 03:50:47 by Victor Escobar)

Unable to edit the page? See the FrontPage for instructions.