[Tutor] Python to C++

Chris Fuller cfuller084 at thinkingplanet.net
Thu Mar 20 17:18:45 CET 2008

On Wednesday 19 March 2008 18:52, Dinesh B Vadhia wrote:
> Say because of performance, you might want to re-write/convert Python code
> to C++.  What is the best way (or best practice) to do this wrt the tools
> available?
> Dinesh

You also might want to use some profiling tools, or skip that step if it's 
known, and simply rewrite the slowest parts.  It isn't too hard to integrate 
Python with C code, there are tutorials in the bundled documentation (also 
available on the Python website).



More information about the Tutor mailing list