Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Is Java really better than Perl???

by TomDLux (Vicar)
on Apr 24, 2004 at 02:04 UTC ( [id://347806]=note: print w/replies, xml ) Need Help??


in reply to Is Java really better than Perl???

It's much faster to write an application in Perl than in C or Java. Who can do anything useful in a comand one-liner in C or Java? Who can write a simple web site robot in 100 lines of C or Java?

Once the prototype is function, and benchmarking shows a deficiency, I consider that an approrpriate time to re-implement a component in C ... a native module or a chunk of Inline::C. If you're going to re-implement Perl code for speed, it makes little sense to use Java for that.

On the other hand, Inline::Java might be useful for interfacing to other Java code, taking advantage of other people's code.

After all, "Use Existing Code" always gets more done, faster, than "Not Invented Here."

Perl for fast implementation, C for fast code, Java when suitable for external code.

--
TTTATCGGTCGTTATATAGATGTTTGCA

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (None)
    As of 2024-10-15 19:15 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.