Funny, It Worked Last Time

... and other odd mutterings of a performance junkie

Browse by Tags

Tagged Content List
  • Blog Post: Encodings in Strings are Evil Things (Part 8)

    As more Unicode encodings are being finished, I find myself wanting to actually start using rmstring in real situations. However, most of my "real situations" involve legacy encodings. So, I need to start cracking on transcoding. The first concern is allowing adapters for arbitrary transcodings. A tricky...
  • Blog Post: Encodings in Strings are Evil Things (Part 7)

    Eugh. Due to a three-part punch of piling-up work, time with family over the holidays, and being thoroughly sick, I haven't had much time to work on rmstring -- which means, of course, that this hasn't updated. I haven't given up on it though! (I'm not dead! I don't want to go on the cart...) If anything...
  • Blog Post: Encodings in Strings are Evil Things (Part 6)

    First, I apologize for not updating recently -- at work, my dev machine's power supply died, and took my hard drive with it. Luckily, I had everything backed up; however, I had to copy everything over to, and work on, a single-monitor Longhorn dogfood box with no major apps installed. This went on for...
  • Blog Post: Encodings in Strings are Evil Things (Part 5)

    In our last episode , we briefly discussed possible behaviors for encoding_cast , and we discussed how the STL's basic_string class was structured -- namely, we noted that it had several core functions that were overloaded many times for various types of input. We also noted that we could avoid many...
  • Blog Post: Encodings in Strings are Evil Things (Part 4)

    In our last episode , we established that we wouldn't be able to make a true std::string replacement and still handle variable-width encodings. So, we started with the beginning lines of an rmstring class. However, this doesn't mean we are going to dispense with std::string entirely! But first, a quick...
  • Blog Post: Encodings in Strings are Evil Things (Part 3)

    (Before I start: I've gotten a few suggestions about readability, since my two entries thus far have been quite long. So, entries will now contain a summary at the end with major facts/conclusions, and I'll go back and add them for the first two posts. I'll also try to pace my paragraphs more regularly...
  • Blog Post: Encodings in Strings are Evil Things (Part 2)

    At the end of the last post , we reduced the abstract concept of "string" down to an "ordered sequence of Unicode code points." (We did so by choosing to actively ignore glyph information, but we'll be coming back to it later.) Unicode code points are simply numbers; of course, numbers have to be reduced...
  • Blog Post: Encodings In Strings Are Evil Things (Part 1)

    What is a string? About six months ago at the Game Developers Conference in San Jose, I sat in on a talk about performance tuning in Xbox games. The presenter had a slide that read: "Programmers love strings. Love hurts. " This was shown while he described a game which was using a string identifier for...
Page 1 of 1 (8 items)