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:
http://zooko.com/shootout-compress.html An interesting fact from this page is that pike programs are more compact than their perl equivalents(!).
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.
I thought the interesting thing was that traditionally, Perl programs are very terse and cryptic. Pike programs are in my view a lot more readable, so you'd think they would also be larger.
/ Johan Schön (Firefruit)
Previous text:
2002-09-07 09:03: Subject: Re: Language Shootout Compressed Source Code Size
On Sat, Sep 07, 2002 at 07:45:00AM +0200, Johan Schön (Firefruit) @ Pike (-) developers forum wrote:
http://zooko.com/shootout-compress.html An interesting fact from this page is that pike programs are more compact than their perl equivalents(!).
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.
/ Brevbäraren
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:
2002-09-07 09:12: Subject: Re: Language Shootout Compressed Source Code Size
I thought the interesting thing was that traditionally, Perl programs are very terse and cryptic. Pike programs are in my view a lot more readable, so you'd think they would also be larger.
/ Johan Schön (Firefruit)
pike-devel@lists.lysator.liu.se