Re: Dylan 2016: Evolving Dylan

Tom Emerson <[email protected]> Tue, 15 Apr 2014 18:26:12 -0400
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <CAOL6EhtkCyX1wj6YmrXX2-aXykzmo6_p3Quy+s2AKchcA-LOrg@mail.gmail.com>
On Tue, Apr 15, 2014 at 5:37 PM, Bruce Hoult <[email protected]> wrote:
> WindowsNT and did this (but UCS2) twenty years ago. OS X did this (with
> UCS4) 15 years ago. Java was somewhere between.

Java still doesn't support UTF-32 internally: it's strings are still UTF-16.

Using any internal encoding besides UTF-32 is silly: both SBCL and CCL
use 32-bit characters. I've written code that deals with hundreds of
megabytes of text in both implementations and memory is not a problem
(though SBCL's hash table implementation is terrible with more than 20
or 30K string keys).

Treat everything as UTF-32 and life becomes easy.

    -tree

-- 
Tom Emerson
[email protected]
http://www.dreamersrealm.net/tree