Is python really slow?

Andrew McNamara andrewm at object-craft.com.au
Tue May 21 21:32:35 EDT 2002


>> I am now learning Python. I am a bit disheartened at how common it seems
>> to code only some of a program in Python and use C for other parts,
>> [...]
>
>Python is not slow at all. There are however tasks that you would not
>normally do in a scripting language (heavy number crunching etc.). One
>of the good things about Python is that you can still write those types
>of applications in Python and only write the performance critical parts
>in C/C++ versus writing the entire application in C/C++.

It's worth mentioning the Numeric/Numpy module and associated extensions
provides a lot of C-coded number crunching goodness for the Python-only
coder.

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/





More information about the Python-list mailing list