Hi,

as a Christmas present from me, Cython made it to Debian couple of hours ago:

http://packages.debian.org/sid/cython

Could you please Robert release a new version with the automatic
range() conversion? I'll package it.
I could of course take the hg changeset and patch the debian package,
but I think it's better if you just make a regular release.

For those not yet using Cython - it's really an extremely good piece
of software. It leaves me the full power like if I used
the Python C/API by hand, but it's imho even easier to use than SWIG
(and of course the output is incomparable - SWIG
creates a slow bloated interface, Cython create the same as you would
by hand - fast, simple, robust interface). It
allows my to call C from Python or Python from C, whatever I want.

The only area, where SWIG may be easier to use, is wrapping external
C++ code. But in my own projects, that use SWIG, I
actually always write a simplified C++/C for the external library
first and only that wrap it using SWIG.

I also tried to rewrite some code in fortran and wrap it using f2py,
and then just took the original python code and Cythonized it (using
numpy arrays), and I could
easily achieve the same speed (actually 2x faster than f2py, but I
will post a new email about that with all details, it could be a
mistake on my side).

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to