Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Perl vs Java in Heavyweight Filesystem Processing

by perrin (Chancellor)
on May 22, 2003 at 22:15 UTC ( [id://260249]=note: print w/replies, xml ) Need Help??


in reply to Perl vs Java in Heavyweight Filesystem Processing

There are some benchmarks of Perl and Java for reading files on this site. The main things they will tell you is that Perl is plenty fast, and it takes tons more code to do a decent job of it in Java. You already said that the performance of the application is irrelevant in this case, so it comes down to the cost of development and maintenance. If you can build and maintain this app twice as fast in Perl as in Java, you will save your company money. It's that simple.
  • Comment on Re: Perl vs Java in Heavyweight Filesystem Processing

Replies are listed 'Best First'.
Re: Re: Perl vs Java in Heavyweight Filesystem Processing
by hardburn (Abbot) on May 23, 2003 at 14:26 UTC

    You already said that the performance of the application is irrelevant in this case, so it comes down to the cost of development and maintenance.

    From the sound of it, it seems that while the OP realizes this, his PHBs may care deeply about performance. Perl is at a natural disadvantage in this case, since it sounds like their running a persistant environment for Java, but not for Perl.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    Note: All code is untested, unless otherwise stated

      Actually, I suspect Perl will mop the floor with Java in this case, unless someone goes to great lengths to use the new direct io classes in the latest Java release. This is not a case where a small script is being launched over and over (which would favor a persistent environment over CGI), but rather a very heavy script that is run infrequently. In that situation, the actual file-processing speed is much more important than the startup time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260249]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found