[Cascavel-pm] The speed, size and dependability of programming languages

Nelson Ferraz nferraz em gmail.com
Domingo Maio 31 12:29:59 PDT 2009

Artigo muito interessante!

The Computer Language Benchmarks Game is a collection of 1368
programs, consisting of 19 benchmark reimplemented across 72
programming languages. It is a fantastic resource if you are trying to
compare programming languages quantitatively. (...)

I was happy to find that in addition to speed The Game also publishes
a source-code-size metric for each benchmark programs in each
language. Thanks to this The Game let us at explore a fascinating
aspect of programming language design: the tension that exist between
expressiveness and performance. It is this tension that gives the
expression "higher-level programming language" a pejorative
connotation. When you are coding this high, you might be writing
beautiful code, but you are so far away from the hardware you can't
possibly get good performance, right?

If you drew the benchmark results on an XY chart you could name the
four corners. The fast but verbose languages would cluster at the top
left. Let's call them system languages. The elegantly concise but
sluggish languages would cluster at the bottom right. Let's call them
script languages. On the top right you would find the obsolete
languages. That is, languages which have since been outclassed by
newer languages, unless they offer some quirky attraction that is not
captured by the data here. And finally, in the bottom left corner you
would find probably nothing, since this is the space of the ideal
language, the one which is at the same time fast and short and a joy
to use.

Leiam o artigo completo:


Nelson Ferraz

Free Software Foundation Associate Member #3203
Projeto Software Livre Brasil (www.softwarelivre.org.br)
Sociedade Perl do Brasil (www.perl.org.br)
Rede Livre de Compartilhamento de Cultura Digital

Mais detalhes sobre a lista de discussão Cascavel-pm