Introducing Python © Chirag Wazir 2002 Prev   Index   Next

Comparison with other languages

Language Version CPU
Rank
Mem
Rank
LOC
Rank
Average
C gcc 3.0 2 1 20 8
C++ g++ 3.0 6 6 18 10
Perl 5.6.1 15 15 8 13
Python 2.1.0 19 14 8 14
Ruby 1.6.6 20 17 6 14
Lisp CMU Common Lisp 18c 9 21 13 14
Javascript NJS Javascript 0.2.5 16 13 14 14
Tcl 8.3.3 21 14 14 16
Java Java 2 (build 1.3.1-b24) 14 24 18 19

data from "The Great Computer Language Shootout" (www.bagley.org/~doug/shootout/)