I found this page:
http://zooko.com/shootout-compress.html
An interesting fact from this page is that pike programs are more compact than their perl equivalents(!).
On Sat, Sep 07, 2002 at 07:45:00AM +0200, Johan Schön (Firefruit) @ Pike (-) developers forum wrote:
lol, so now we go optimizing for code size too? well, optimizing for lines of code is trivial:
code-="\n";
there, done. ;-)
but optimizing for compressed codesize ought to be interresting.
greetings, martin.
Perl *one-liners* are often terse and cryptic. Perl programs generally vary a lot in terms of how terse and cryptic they might be depending on who wrote them.
By the way, I wonder what versions of the program he has used. Some of the Perl programs (such as lists.pl) have rather a lot of comments in them, for instance. Have these been removed before counting code size?
/ Leif Stensson, Lysator
Previous text:
pike-devel@lists.lysator.liu.se