Python is fast enough

I recently read in a post somewhere that one of the benefits of Python was that it is “fast enough”. The justification was kind-of lame though – efficiency bottlenecks could easily be addressed by writing some C code, and gluing it in. Really?

Okay, so maybe for a routine that’s super resource hungry I would implement it in C, and call it from Python. Maybe. But just maybe I wouldn’t even bother using Python for anything except making my data play nicer with the user. User inputs data, Python sends it to C, C processes the data, and Python outputs the result. The fact that Python is written in C makes no difference – who cares? Doesn’t make it any faster. Other things are written in C. Many compilers are.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s