Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl applications

by runrig (Abbot)
on Apr 07, 2004 at 22:20 UTC ( #343455=note: print w/replies, xml ) Need Help??


in reply to Perl applications

Java is no more and no less a compiled language than Perl is. Java is compiled to p-code which then requires a separate run-time interpreter (We do the same thing here where I work with 4GL). Perl is compiled at runtime (very quickly) to some sort of op-code tree which is then interpreted by the built-in interpreter. Not having to explicitly complile a Perl program is one of the reasons perl tends to have a shorter development cycle (i.e. we get stuff done quicker).

OTOH, C is truly compiled, so for specific tasks, it'll run quicker, though will probably take longer to develop some specific application in. And for many tasks, even if some Perl program is 10-100 times slower than an optimized C program, it is usually 'fast enough' in that the user doesn't care if he gets the result in 3 milliseconds or 3/10ths of a second, and the savings in development and maintenance time more than make up for the difference in runtime.

And as for GUI's, perl has modules for many different GUI toolkits.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2018-11-15 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (180 votes). Check out past polls.

    Notices?