# Comparing Python, C, and Common Lisp Performance on a Simple Benchmark

DevFeed: [Comparing Python, C, and Common Lisp Performance on a Simple Benchmark](<https://devfeed.tech/articles/fast-and-stupid-34473.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2012/08/fast-and-stupid/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2012-08-22T14:05:00Z

Content type: opinion

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Common Lisp](<https://devfeed.tech/topics/common-lisp.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [C](<https://devfeed.tech/topics/c.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [c](<https://devfeed.tech/tags/c.md>), [compare](<https://devfeed.tech/tags/compare.md>), [lisp](<https://devfeed.tech/tags/lisp.md>), [optimisation](<https://devfeed.tech/tags/optimisation.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

The article compares Python, C, and Common Lisp implementations of a simple benchmark. It reports that Python is slowest, C is fastest, and Common Lisp falls between them, while discussing the trade-offs of manual optimization and deploying compiled C code from Python.

## Source excerpt

I stumbled onto an interesting article about performance when using python, called Python performance the easy(ish) way, where the author tries to get the bet available performances out of the dumbiest possible python code, trying to solve a very simple and stupid problem. With so many smart qualifiers you can only guess that I did love the challenge. The idea is to write the simplest code possible and see how smarter you need to be when you need perfs. Let's have a try!