Hmm, if I can write something in a couple of minutes that your friend takes a couple of hours to write, I can take a 118 minute coffee break while my program is running and your friend is still working on his program. And so for the first run we'll probably be done at about the same time. For a throwaway program, or for programs where the time difference isn't so great (such as when doing database access) I prefer doing it my way. For a time-critical process that we're going to run alot, and is not likely to change much (and if his is really 100 times faster), we'll use mine as a prototype until your friend finishes his.

The difference in runtime can be up to 100 times faster for C, but depending on the task, isn't always that great. The difference in development time (and in making modifications) can be the same but in perl's favor.


In reply to Re: Perl speed VS. other languages by runrig
in thread Perl speed VS. other languages by tretin

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.