Distributed App - C++ with Python for Portability?

Stefan Behnel stefan_ml at behnel.de
Mon Mar 10 03:56:26 EDT 2008


Matt Nordhoff wrote:
> For what you do decide to rewrite in C, you can also use a language like
> Cython [1] (which is a fork of Pyrex [2]). It looks mostly like Python,
> and is translated to C without you having to write all of the
> boilerplate Python C API stuff. Of course, not quite as efficient
> well-tuned raw C, but much more pleasant to write.

And if you really need the efficiency of "well-tuned raw C", it's one function
call away in your Cython code.

Stefan



More information about the Python-list mailing list