- C
- Lisp
- Clojure
- Python
and tested their execution speed.
The result is not surprising, and the chart below is a clear reminder that it's not the speed of the language, it's how good your algorithms perform (at least when exponential growth can be expected).
The slowness of the Clojure tests must be the JVM startup time. I know Clojure and Lisp can be compiled, here neither are.
Thar fibonacci algorithm used here are simple and recursive:
def fib(x):
if x<=2: return 1
return fib(x-1)+fib(x-2)
better algorithms for this exists, and i can highly recommend looking at the LiteratePrograms if you are interested in this:
http://en.literateprograms.org/