Yes. No.

It's too broad a question. What kind of hardware do you have? What kind of network connection do you have? What kind of program are you running? What kind of "efficient" do you mean? Do you have a database? On the same machine, on a different machine? What kind of accesses are you likely to receive? Do you have more CPU time to burn than available memory? Is your system IO bound or network bound or processor bound?

There are a thousand variables. We won't even get into the version of Perl, mod_perl, any performance tweaks you might get into, whether or not you have the Zend optimizer or not.

You can write bad and inefficient code in any language. You can write good code in almost any language. Pick the language that will cause your programmers the least grief, because you will have to change things. Then, if it's not fast enough, either fix it, or figure out which parts you can rewrite in a faster language. If absolutely necessary.


In reply to Re: Which language parses faster? PHP or Mod_Perl? by chromatic
in thread Which language parses faster? PHP or Mod_Perl? by bladx

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.