First I should note that I have no actual benchmarks to back any of this up

That said, I don't think you're going to find an appreciable performance difference between using C, php, or perl for your CGI programming. Usually, when any of these do not perform with great efficiency, it's because it's not properly optimized, not because it's not the "right" choice. I like to use perl CGI for all my web programming, but that's because I'm also responsible for writing the back ends that my pages will interface with, and using perl for all of it means I only have to

use CGI::Pretty; use MyBackEndInterfaceModule qw( :client );
and off I go, never having to write the interface into the front end; the backend provides a simple API, including functions or methods to interface with it. This also means I can change from a pipe based interface with the backend, to sockets, to shared memory without having to make any changes in the front end. Which will be appreciated if somebody else is writing the user interface, and you haven't done benchmarks to decide which way is fastest yet. For me, it's the ease of implementing this sort of flexibility that makes perl my first choice.

--4c6966653a205468652073656172636820666f
  7220746861742070657266656374204765656b
  20436869632c20746865206f6e652077697468
  2074686520737061726b6c696e672065796573
  2077686f20706c617973206973207261696e2e

In reply to RE: When choosing perl/cgi by Aighearach
in thread When choosing perl/cgi by toadi

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.