achieving performance using C/C++

Palindrom demarcheb at gmail.com
Mon Nov 5 04:08:19 EST 2007


Hi all,

I'd be very interseted in a good tutorial for using C/C++ to optimize
python code too !

Thanks in advance.

sandipm wrote:
> I did fair amount of programming in python but never used c/c++ as
> mentioned below.
> any good tutorials for using C/C++ to optimize python codebase for
> performance?
> how widely do they use such kind of mixed coding practices?
>
> sandip
>
> ---------- Forwarded message ----------
> From: "D.Hering"
> .
> .
> .
> .
> Python is very easily extended to near C speed. The Idea that FINALLY
> sunk in, was that I should first program my ideas in Python WITHOUT
> CONCERN FOR PERFOMANCE. Then, profile the application to find the
> "bottlenecks" and extend those blocks of code to C or C++. Cython/
> Pyrex/Sip are my preferences for python extension frameworks.
> .
> .
> .
> .




More information about the Python-list mailing list