On Wed, Mar 10, 2004 at 03:21:16PM +1300, Michael JasonSmith wrote:
I've not yet run into the situation where Python is too slow, and if I do there are plenty of options for making it faster.
My favourite method for speeding up Python: Pyrex.
but that would require me to write c code.
It's sort of a cross between c code and python. Not that hard. Better than plain C. Anyway, there's a better way... psyco. I got a 3x speed up in some complex python code I wrote, by installing psyco, and adding 2 lines to my python code to import the psyco lib and start it.
the main reason for me to use languages like python or pike is because i do not want to write c.
Good reason.
so i'll stick to pike which i know to be fast (and understand why too)
that said, i have not used python enough to have any feeling of it being slow. ie. pike may be faster, but does it make a difference?
What is more important (most of the time), is how fast the language is to program in, not how fast it runs. I can code in python 5-10 times faster than in C, and I know both equally well. No doubt pike has the same advantage? I'm not a piker :-)
Cheers, Carl.
