Is python very slow compared to C
Luis M. González
luismgz at gmail.com
Sun Feb 12 08:31:28 EST 2006
Steven D'Aprano wrote:
> What is slow? Slow compared to what? Would you prefer to spend three days
> writing a program that will run in twenty milliseconds, or three hours
> writing the same program which runs in eighty milliseconds? Is the
> computer's execution time more important than your development time? If
> the computer's time is more valuable than your time, then you should be
> writing in assembly language.
>
> Python helps you write shorter code with fewer bugs, much quicker, than C.
> If you discover a specific problem that runs too slow in Python, it is
> possible to write a C extension to solve that specific problem, while
> still having all the other advantages of Python.
You are right, we all know that, but I think the person who asked this
question doesn't want to hear a sales pitch. He asked a very specific
question regarding execution speed.
More information about the Python-list
mailing list