It's sad, but I don't think the decision is retarded. I am sure Google staff use Perl day in, day out, and the decision to not include it was probably bitterly fought.

Now consider a section from the Google page in question, and I quote:

Your mission is to write a program (most likely by adding code to the ripper) that does something interesting with the data, in such a way that it would scale to a web-sized collection of documents

As much as it would be fun to hack something up with Perl to munge a 57Mb sample set, I personally wouldn't want to have to wait for the run results on a web-sized collection. If 16 000 pages results in 57Mb, then Google's current collection of 2 073 000 000 pages would mean a 7 380 000Mb data set, that's 7 terabytes! That's several orders of magnitude for you to shoot yourself in the foot with if you miss a whisker of performance.

At this end of the spectrum, you have to pay careful attention to details, and I think Perl would just generate too much overhead to scale up.

But then again, wouldn't Java? If you're not careful you could drown in an ocean of objects, madly being garbage collected. Think what that would do to your performance. (I recall an article (/.? K5?) that discussed the use of lisp in planning air trips on the Sabre system (or analog). They have to pay careful attention in how they code in order to not produce garbage -- too bad I can't find the link).

It's clear that Perl would have allowed some really nifty prototypes coded with a minimum of fuss, that the Google crew could have picked up and run with, recasting them in C++, if that is indeed the whole point of the contest. And that is what sucks.

Hey, I'm sure Python and Ruby could too.

But instead they chose Java. In that case one can only conclude that they forgot Public Enemy's number one rule, "Don't believe the hype."

--
g r i n d e r
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u';

In reply to Re:x3 (OT) Google programming contest by grinder
in thread (OT) Google programming contest by gmax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.