One of the best replies I've read in weeks! I wish I could up this more than once.

I fully recognize your path. I also worked with (even older) perl on AIX, and when I had to, I always wanted I could do it faster (any other system gave me more vivid response). But I must say that newer AIX also gave newer perl a better architecture to work on. I still hate AIX, but I must say that I hate AIX 5.3 a lot less than I hat AIX 3.1 but I still prefer Linux or HP-UX over AIX in any case.

And I never ever even consider using C over perl to gain performance. If I have to micro-optimize heavily visited perl code that actually warrants C, I'll write it in XS. That is a proven path (see e.g. the speed comparison between Text::CSV_XS versus Text::CSV_PP), but it has the huge advantage of easy integration into the whole of the perl script.

Also note that if you have to access databases in C, none of the code is portable between databases. All have their own API and edge cases one has to code around. The low maintenance level of perl scripts using DBI instead is one huge selling point of using perl from the start.


Enjoy, Have FUN! H.Merijn

In reply to Re^2: Why "Modern Perl" is slower than "Legacy Perl"? by Tux
in thread Why "Modern Perl" is slower than "Legacy Perl"? by dwalin

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.