Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl slower than java

by wazoox (Prior)
on Dec 10, 2010 at 13:13 UTC ( #876456=note: print w/ replies, xml ) Need Help??


in reply to Perl slower than java

Choosing the right tool for the job, a digest.

If your application is CPU-bound, Perl will certainly be quite a poor fit, and be beaten by C (obviously) and most of the time, Java.

If your application is IO-bound (many are, be it network or disk IO), most languages will perform about the same.

In your case, most naive perl implementations will be slower than Java, being CPU-bound. However, the win may be in the development and maintenance time; after all if your program runs in 30 ms instead of 5 ms, that hardly makes any difference to you.


Comment on Re: Perl slower than java

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-07-06 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls