Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: The Great Computer Language Shootout

by gmpassos (Priest)
on Sep 23, 2004 at 01:59 UTC ( #393100=note: print w/ replies, xml ) Need Help??


in reply to The Great Computer Language Shootout

Well, I don't know when you saw the rank, but Perl is in the 8th place:

# Language Implementation Score 1 C gcc 154.6171 2 Ocaml ocaml 124.4804 3 C++ g++ 105.6944 4 Eiffel se 98.7194 5 Ocaml ocamlb 93.0624 6 SML mlton 91.8259 7 Clean clean 90.5943 8 Perl perl 79.6822 9 Haskell ghc 77.4361 10 Pike pike 77.1981 11 Oberon-2 oberon2 77.0360 12 Lua lua 75.2653 13 Scheme bigloo 75.1351 14 S-Lang slang 73.4023 15 Python python 73.0627 16 Ruby ruby 72.6933 17 Lisp newlisp 69.7620 18 Common_Lisp cmucl 65.5113 19 Forth gforth 65.2669 20 Awk mawk 64.9447 21 Java gcj 64.3719 22 Python psyco 63.3687 23 Nice nice 63.3655 24 Scheme chicken 63.1898 25 Awk gawk 63.1771 26 SML smlnj 62.8468 27 Java java 62.3177 28 Common_Lisp sbcl 61.1720 29 Tcl tcl 60.9442 30 Erlang erlang 60.8645 31 Java kaffe 60.4781 32 Erlang hipe 58.9117 33 Scheme guile 57.9570 34 Java sablevm 57.4272 35 Smalltalk gst 56.6310 36 Java gij 56.3162 37 Lisp rep 51.1753 38 Dylan gwydion 48.7750 39 Icon icon 47.1262 40 Ada gnat 41.8272 41 Scheme mzscheme 39.3508 42 PHP php 39.3355 43 Mercury mercury 38.9003 44 Bash bash 38.3828 45 Scheme mzc 36.9159 46 Emacs_Lisp xemacs 35.3363 47 Mozart/Oz oz 33.0343 48 C# csharp 31.2426 49 Scheme stalin 29.2409 50 ElastiC elastic 14.8057 51 Objective_C objc 12.5165 52 Prolog gprolog 4.0209 53 Ciao_Prolog ciao 2.3282 54 Haskell curry 0.8528
Table generated at http://shootout.alioth.debian.org/craps.php?xcpu=1&xmem=1&xloc=1 (with 1 score multiplier for CPU, Mem and Lines):

Formated with

my @data = qw( C gcc 154.6171 2 Ocaml ocaml 124.4804 2 C++ g++ 105.6944 2 Eiffel se 98.7194 5 Ocaml ocamlb 93.0624 2 SML mlton 91.8259 2 Clean clean 90.5943 5 Perl perl 79.6822 2 Haskell ghc 77.4361 4 Pike pike 77.1981 2 Oberon-2 oberon2 77.0360 5 Lua lua 75.2653 3 Scheme bigloo 75.1351 3 S-Lang slang 73.4023 5 Python python 73.0627 2 Ruby ruby 72.6933 2 Lisp newlisp 69.7620 6 Common_Lisp cmucl 65.5113 2 Forth gforth 65.2669 4 Awk mawk 64.9447 8 Java gcj 64.3719 3 Python psyco 63.3687 3 Nice nice 63.3655 2 Scheme chicken 63.1898 6 Awk gawk 63.1771 8 SML smlnj 62.8468 2 Java java 62.3177 3 Common_Lisp sbcl 61.1720 2 Tcl tcl 60.9442 5 Erlang erlang 60.8645 0 Java kaffe 60.4781 3 Erlang hipe 58.9117 0 Scheme guile 57.9570 2 Java sablevm 57.4272 3 Smalltalk gst 56.6310 4 Java gij 56.3162 3 Lisp rep 51.1753 6 Dylan gwydion 48.7750 5 Icon icon 47.1262 9 Ada gnat 41.8272 9 Scheme mzscheme 39.3508 7 PHP php 39.3355 12 Mercury mercury 38.9003 9 Bash bash 38.3828 14 Scheme mzc 36.9159 7 Emacs_Lisp xemacs 35.3363 11 Mozart/Oz oz 33.0343 8 C# csharp 31.2426 2 Scheme stalin 29.2409 16 ElastiC elastic 14.8057 18 Objective_C objc 12.5165 23 Prolog gprolog 4.0209 23 Ciao_Prolog ciao 2.3282 24 Haskell curry 0.8528 26 ); sub FORMATING { $^A = ""; formline(shift,@_); return $^A; } print " # Language Implementation Score\n" ; my $format = qq`@>> @<<<<<<<<<<<< @<<<<<<<<<<<< @>>>>>>>`; my $c ; for(my $i = 0 ; $i <@data ; $i +=4) { ++$c ; my $form = &FORMATING($format , $c , @data[$i..($i+2)] ) ; print "$form\n" ; }

Graciliano M. P.
"Creativity is the expression of the liberty".


Comment on Re: The Great Computer Language Shootout
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://393100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-08-23 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls