Re: Java vs Perl for specific tasks

From: GIMME (gimme_this_gimme_that_at_yahoo.com)
Date: 09/07/04


Date: 7 Sep 2004 10:46:41 -0700

I haven't a lot of experience writing multiple threaded applications
in Perl. If multiple thread are important I haven't a clue about
how well it would stack up compared to Java. Probably not as well.

But Perl might be a way to go. Perl has a more flexible object model
than Java does. Once you get used to it it's easy to like

I've reviewed Java 1.4's regular expression capabilities. It is
a clean implementation but it doesn't approach what you can do in Perl.

The Jakarata ORO package gives you all the regular expression
stuff you get with Perl. It is also less verbose than Java 1.4.

If you develop something in Perl, then later decide to translate
it line for line into Java ORO can do that.

linux_email2000@yahoo.com (John Smith) wrote in message news:<248a20a2.0408301039.2a2ceeda@posting.google.com>...
> Hello,
>
> I have a rather odd question. My company is an all java/oracle shop.
> We do everything is Java... no matter what it is... parsing of text
> files, messaging, gui you name it. My question is this... is Perl so
> much better at parsing text files and outputing that we would see a
> substantial speed increase? We process about 10 million records in
> flat files a day for reformatting before putting them in a DB.
>
> Also, when it comes to Unix threading... which one would be better off
> Java or perl? Essentially, we would break the 10 million down into 10
> files... each file is done in a seperate thread... The program also
> has to keep a hashmap of keys to make sure we don;t include duplicate
> records and it must connect to oracle every once in a while... is
> switching to perl worth it considering the investment and know how we
> have in java? This is the only portion of the code we would consider
> switching to perl...
>
> ideas?
>
> Thanks,
>
> Joie



Relevant Pages

  • Re: Is perl better? :(((
    ... >> Wasthe original PERL script hitting an Oracle database? ... >> Did you run an explain plan on your Oracle SQL? ... Java and perl on another. ...
    (comp.lang.java.databases)
  • Re: Is perl better? :(((
    ... >> Wasthe original PERL script hitting an Oracle database? ... >> Did you run an explain plan on your Oracle SQL? ... Java and perl on another. ...
    (comp.lang.java.programmer)
  • Re: Is perl better? :(((
    ... Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.databases)
  • Re: Is perl better? :(((
    ... Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.programmer)
  • Re: Is perl better? :(((
    ... >> Oracle on one box, Java and perl on another. ... See previous answer about SQL. ...
    (comp.lang.java.databases)