Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Let's face it, Perl *is* a scripting language

by samizdat (Vicar)
on Aug 09, 2006 at 02:32 UTC ( [id://566313]=note: print w/replies, xml ) Need Help??


in reply to Let's face it, Perl *is* a scripting language

Oh, boy, favorite topic time.

I'll first make some enemies and some friends here. Perl is written in C, so when the parser has figured out what you want to do, you're executing compiled code as fast as any C program.

Most of the time, a C program is examining some kind of input syntax and deciding what to do. The only degree of difference is in how complex an input language you allow yourself to parse. Either your input language is complex, or you have to parse several times with different syntax subsets to make decisions: your choice.

Many people have attacked this problem, including Larry Wall. His answer is Perl, and, since he is/was a rocket scientist, I tend to think he has a few jets firing in the same direction, generally upward. Other people have gurgitated such things in C/C++ as Lua and Java and VisualBASIC.

Again, your choice. There's always a tradeoff between pure gnat's-burning-@ss speed and ease of development and maintenance. Most of the time it doesn't matter, because a second P-III and a few megs of RAM are blessedly cheap. Perl wins this one in many business equations.

Don Wilde
"There's more than one level to any answer."
  • Comment on Re: Let's face it, Perl *is* a scripting language

Replies are listed 'Best First'.
Re^2: Let's face it, Perl *is* a scripting language
by Anonymous Monk on Aug 09, 2006 at 14:33 UTC
    Perl is written in C, so when the parser has figured out what you want to do, you're executing compiled code as fast as any C program.
    Excellent. Now I know that every language, like PHP, Ruby, Prolog, Javascript, etc. is as fast as C.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://566313]
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: (4)
As of 2024-06-15 18:23 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.