Leaving aside my tendency to complain about bad spelling and grammar, I would suggest that for most problems a good compiled language (Fortran compilers have beaten very skilled assembly language programmers for about 40 years; I see little reason why C/C++ wouldn't do as well) will beat even the best hand-coded assembler for many classes of problems, which will beat Perl, Python, Ruby, or Java. In computationally-intense problems, Perl, Python, Ruby, or Java will probably be approximately equal. Whether they are adequate for your needs is a different question, but my guess is that if one of them is, any of them will be.

Note, however, that Perl, Python, Ruby, and Java are largely designed to be platform-neutral, and the coding you're describing seems to require some fairly low-level twiddling, which probably is quite platform-dependent, so it will probably require some C (or assembly) to manage the platform-dependent bits. Conveniently, production-quality modules for your tasks may exist on CPAN, and they may be production quality across platforms.

I like Perl; I find it has more than sufficient performance for 90% of the coding I do. The odd 10% is computationally intensive, so none of Perl, Python1, Ruby, or Java quite cut it.


1 For aesthetic reasons, I don't like Python, so I have essentially no experience with it.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc


In reply to Re: Is Perl right for me? by swampyankee
in thread Is Perl right for me? by RobinV

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.