Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cwest (1514)

  (email not shown publicly)
AOL IM: caseyrwest (Add Buddy, Send Message)

Perl geek.

Journal of cwest (1514)

Thursday February 07, 2002
11:23 AM

Google is jading me

[ #2701 ]

I can think of all kinds of neat things that I could do with that Google data, in Perl. The great part? It would take me half the time to implement the sort of things C++ and Java programmers will do. And I can do cooler stuff with Perl.

So why would they discriminate against all languages but C++ and Java? I can think of three good reasons:

1. They're looking for a new employee and they use C++ and Java in house.

2. They want to make the contest really difficult... difficult to do good and fun things, that is.

3. They believe FUD about interpreted languages.

All three are retarded reasons, imho.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Which is really unfair of me, I think -- Google's always been a handy tool. It's just frustrating that I can't apply anything I learned recently to a spiffy-sounding contest.

    You are what you think.
  • They don't want to have to make sure they support whatever version of perl + modules + shell etc. that you need. That's my guess.
  • What's not interpreted about Java? They've split perl into perlc and perl+Byteloader. :)

  • I don't mean to support the opposition, but perl is slow. I mean it's fast at some things, but likely the things you'd need to do to make a process work against their multi-billion document repository just wouldn't be possible in Perl. I guess I'm willing to eat my words if somebody can make it happen, but compared to C++ and Java (yes, Java), Perl is going to get lost in the performance dust (assuming we're talking Perl without XS, and even if you use XS, without Perl data structures).

    Please, prove me wr
    • I can understand thinking that Perl is slow against billions of documents; but so is Java, and C++ isn't much better. I can understand if they wanted to do it in C, but come on, Perl is not going to be "lost in the performance dust" to Java. It just isn't.

      Please, prove me wrong (don't just argue with me!)
      • There's plenty of proof out there that Java can be close to as fast as C++ based stuff. Take parsing as a dead simple example. Perl parsers are really slow - HTML::Parser was ported to XS for this reason, XML::SAX::PurePerl crawls along, etc. Java XML and HTML parsers on the other hand blaze along. Not nearly as fast as C of course, but beating the pants off Perl.

        Part of the problem is Perl only has access to very high level information - strings, hashes, arrays. Whereas C, C++ and Java all have access to
        • No, I don't believe you. Even on your supplied link, perl is faster than Java in wc, network echo, the FIRST hash test, "HELLO WORLD" (!), list processing, regular expressions, spell checking, statistical moments, string concatenation,
          word frequency, and more. Perl is MUCH faster in most of those tests. I don't see by what basis you can think Java is, in your words, "lost in the performance dust."

          And quite literally, this site you linked to disproves your theory, unless you are relying primarily on XM
          • Well I ran the crapshoot scores, with Object instantiation, exceptions and matrix multiplication all turned down to score 1, and Java still beat Perl [] overall. I'm trying to find a weighting where Java doesn't beat Perl overall, but I haven't found one yet, at least not one that ignores some things that the systems that most people in the perl community work with and develop every day - Objects, method calls, hash access, regular expressions.

            Play for yourself. I'd love to see what settings Perl comes out o
            • I don't know what most people work with and develop every day, and I don't think you do, either. I don't buy for a moment that this is representative of what most people do (especially how you leave method calls as 5!). Here's one example [] of where Perl beats Java, where IMO data manipulation and processing are all much more important than exceptions, object instantiation, method calls, etc.

              And in any event, your claim was not that Java was faster than Perl -- and according to this site, for what I, and