Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

darobin (1316)

darobin
  (email not shown publicly)
http://berjon.com/

Journal of darobin (1316)

Wednesday December 12, 2001
10:08 AM

Parrot and UTF-32

[ #1615 ]

I was surprised to see Simon announce UTF-32 support in parrot. Not that I'm against it but if you haven't looked in the direction of UTF-32, it may suffice to tell you that it is often referred to by some as "WTF-32", and that many are suggesting that it is really the result of a failed luddite attempt to make the internet 4 times slower.

The question I'm asking is "Why?". Is it simply a "because we can thing", or does WTF-32 have hidden advantages currently seen only by a happy few ? In any case the parrot stuff looks really really exciting.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The only advantage I can see with WTF-32 is that character counting becomes much simpler. No more scanning to correctly handle multibyte (or multiword) seqences somewhere in the string.

    Probably a pre-requisite to processing Kingon, Sumerian or something.

  • Ah yes indeed, that's one thing I hadn't thought about that does make UTF-32 interesting, thanks for the thinking. In fact I'm now surprised people don't use it more in situations where it might provide substantial gains in speed, albeit trading that for a loss of space (but space is cheap these days).
    --

    -- Robin Berjon [berjon.com]