in reply to Re: Perl rocks!!!
in thread Perl rocks!!!

Ahem. Sorry something in my throat.

1. Subjective, ignored.

2. The regex engine in Perl has more features than the ones in Python, Ruby and Java - and is most likely faster and more robust due to how long it has been part a first-class part of the language. I've seen speed trials that are less than two years old against Python/Perl and Java/Perl. No evidence for Ruby. C++ is apples-and-oranges.

3. I think the speed in terms of development time of dealing with large files, is where the "fast" comes from. Perl was designed with processing text files in mind, every aspect of the language is geared for it. It has been doing it for a long time and is very good at it. Try recursively processing a directory tree of files in Java to make a histogram of the occurances of words. Now do it in Perl. You will see the difference.

4. CPAN. Enough said.

-Andrew.


Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com

Replies are listed 'Best First'.
Re^3: Perl rocks!!!
by exussum0 (Vicar) on May 11, 2006 at 11:53 UTC
    1. You can't ignore the fact that there are tonnes of good languages. Perl is indeed one of them. Otherwise, oneday, you'll use perl for the most inappropriate thing.

    2. First to market doesn't always mean best. Altavista was great for a while. But now is google. 'sides, perl's regexp has been outwardly ported many many times.

    3. Neither is particularly hard to do. Familiarity with any given language will bring speed.

    4. The ruby and python api's are huge. php's are as well,i'll conceed, though i really don't like it. :) java is insanely huge.