Well, not to interrupt the name calling going on with Perl6, but:

I was working on ETL for a datawharehouse. At the time, it was in the top 10 largest warehouses in the world. I was getting streamed binary data that was pretty complex. I had prototyped it in perl, but it was taking longer to process the data than it took to receive it. I ended up using my main ax (C/C++) to get it up and running.

This was, however, about 10 years ago. Although I can't cry poor in terms of CPU and RAM (as I recall, I had an E10K with 40CPUS and 20G of RAM or something. I'd love to give it another shot with a newer version of perl. But I don't recall perl being really good a bit-manip.

Example: I'd get 4 numbers to decode. The first was 3 bits, then 4 bits, then 7 bits, then 2 bits. This wasn't pretty in any language, but really nasty in perl. Not to mention the little/big endian issues to compensate for and getting data that doesn't line up nicely with byte boundries is pretty yucky as well.

Footnote: That was some of the most fun I've had in programming ever.

--
I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.

In reply to Re: Don't Write That In Perl! by KurtSchwind
in thread Don't Write That In Perl! by Ovid

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.