[Python-Dev] [Numpy-discussion] New project : Spyke python-to-C compiler

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Mon Apr 7 11:31:12 CEST 2008


> What is Spyke?
> In many performance critical projects, it is often necessary to
> rewrite parts of the application in C. However writing C wrappers can
> be time consuming. Spyke offers an alternative approach. You add
> annotations to your  Python code as strings. These strings are
> discarded by the Python
> interpreter but these are interpreted as types by Spyke compiler to
> convert to C.

Have you had a look at Cython? http://cython.org.

>From seeing what you write, it looks like we have almost exactly the same
long-term goals; one could almost say that the two pieces of software will
be complete duplicates in functionality. (Cython isn't "there" just yet
though.)

(Though as the saying goes, little duplication is normal (and perhaps
wanted) for open source software.)

Dag Sverre



More information about the Python-Dev mailing list