Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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."

In reply to Re: Let's face it, Perl *is* a scripting language by samizdat
in thread Let's face it, Perl *is* a scripting language by Ovid

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-06-15 03:44 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    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.