9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Bruce Ellis" <bruce.ellis@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] strangely typed functions in standard library
Date: Thu, 18 May 2006 19:21:35 +1000	[thread overview]
Message-ID: <775b8d190605180221l79cf7214m7116dfe7567af85d@mail.gmail.com> (raw)
In-Reply-To: <78ef64122fed7daa18548b4984d01a8b@quanstro.net>

32 bit unicode is not Rune friendly ... i hope Runes don't
get fatter.  it will break many things.  rob has had something
to say about this, do a search on the list.

i'd like to map them to RFat ... something unassigned in
0xFF.. space.

use them at your peril.

brucee

On 5/18/06, erik quanstrom <quanstro@quanstro.net> wrote:
> while this is true, i believe that the real reason for this is that
> on a >=32-bit machine, an ushort can just be declared
> to be a long by the compiler whereas the compiler must emit
> instructions to convert a long to an unsigned short.
>
> - erik
>
> On Tue May 16 10:10:37 CDT 2006, 0xef967c36@gmail.com wrote:
> > On 5/16/06, Matt Stewart <rotaerk1@gmail.com> wrote:
> > > The following functions are described as accepting a Rune, but instead
> > > the parameters are of type long.  Why?
> > >
> > > int runelen(long);
> > > char *utfrune(char *, long);
> > > char *utfrrune(char *, long);
> >
> > full unicode is 32 bit, even if plan9 (afaik)
> > supports only characters in the BMP.
>


  reply	other threads:[~2006-05-18  9:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18  3:06 erik quanstrom
2006-05-18  9:21 ` Bruce Ellis [this message]
2006-05-19  4:43   ` quanstro
2006-05-19  5:03     ` geoff
2006-05-19 12:43   ` Joel Salomon
2006-05-19 13:03     ` Victor Nazarov
  -- strict thread matches above, loose matches on Subject: below --
2006-05-16  3:03 Matt Stewart
2006-05-16 11:40 ` Martin Neubauer
2006-05-16 15:09 ` R
2006-05-19 22:49 ` Lluís Batlle i Rossell
2006-05-19 22:43   ` quanstro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=775b8d190605180221l79cf7214m7116dfe7567af85d@mail.gmail.com \
    --to=bruce.ellis@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).