list2str and performance

Fredrik Lundh fredrik at pythonware.com
Fri Oct 20 06:33:03 EDT 2006


"spr" wrote:

> When performance matters and you have to develop a CPU-bound
> application, do you think it is possible to eventually achieve nearly
> the best performance by extending Python with C or C++ modules, or is it
> better to take the embedding approach, that is, use a C or C++ core that
> calls Python scripts?

the embedding approach only makes sense if you 1) have an existing application
that you want to extend with Python, or 2) are trying to sneak Python into an exist-
ing project (it's just a library, you know ;-).

for any other case, putting "Python at the top" is a lot more practical.

</F> 






More information about the Python-list mailing list