Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #35796

Re: Setting architectural features in stone

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.arch, comp.lang.c
Subject Re: Setting architectural features in stone
Date Wed, 03 Aug 2016 08:51:04 -0700
Organization None to speak of
Lines 27
Message-ID <lna8gt3l7b.fsf@kst-u.example.com> (permalink)
References <nnb615$1h2k$1@gioia.aioe.org> <373211b1-a3c7-4b42-85d7-0862cc962b08@googlegroups.com> <nnbh76$kc$1@gioia.aioe.org> <nnch0a$6nr$1@dont-email.me> <cb73fb41-fa4c-445b-83f5-25c5edf4b224@googlegroups.com> <20160728165021.72543369@maxa-pc> <nnn452$548$1@dont-email.me> <nnrcnr$267$1@gioia.aioe.org> <66682c36-81e9-481a-a4d2-1f61e9754ada@googlegroups.com> <nnsbd9$djj$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="28576"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GYv4Au1O+1HgxeNjAC6zh"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:u7qUfGw7hH96Et4JSaM8DJYvpOs= sha1:/KefDrihF1qy/cSczbMkzdN0gvU=
Xref csiph.com comp.arch:35796 comp.lang.c:91607

Cross-posted to 2 groups.

Show key headers only | View raw


Noob <root@127.0.0.1> writes:
> [ Adding comp.lang.c back since we're discussing C ]
>
> On 03/08/2016 04:37, Quadibloc wrote:
>
>> However, C does specify that string constants may include things like \n and
>> this means that char values must be able to represent lower-case letters.
>
> I don't follow your logic. What does '\n' have to do with lower-case?
> On DOS systems, '\n' is encoded as CR-LF.
>
>> Therefore, a system where characters are six bits long would conflict with
>> the C standard [...]
>
> Right, there is a lower limit; a C char must be *at least* 8 bits wide.
>
> (Because CHAR_BIT >= 8 and UCHAR_MAX >= 255)

And the basic character set includes both uppercase and lowecase
letters, and an implementation must distinguish between them both at
compile time and at run time.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Setting architectural features in stone Noob <root@127.0.0.1> - 2016-08-01 11:18 +0200
  Re: Setting architectural features in stone Ivan Godard <ivan@millcomputing.com> - 2016-08-01 09:26 -0700
  Re: Setting architectural features in stone anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-01 15:48 +0000
  Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-01 10:13 -0700
  Re: Setting architectural features in stone Walter Banks <walter@bytecraft.com> - 2016-08-02 20:09 -0400
    Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-02 18:39 -0700
      Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 00:52 -0700
        Re: Setting architectural features in stone Walter Banks <walter@bytecraft.com> - 2016-08-03 06:45 -0400
      Re: Setting architectural features in stone David Brown <david.brown@hesbynett.no> - 2016-08-03 15:02 +0200
    Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-02 19:37 -0700
      Re: Setting architectural features in stone Noob <root@127.0.0.1> - 2016-08-03 10:52 +0200
        Re: Setting architectural features in stone Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-03 11:09 +0100
        Re: Setting architectural features in stone Keith Thompson <kst-u@mib.org> - 2016-08-03 08:51 -0700
        Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 09:36 -0700
          Re: Setting architectural features in stone George Neuner <gneuner2@comcast.net> - 2016-08-03 20:30 -0400
          Re: Setting architectural features in stone Noob <root@127.0.0.1> - 2016-08-04 13:06 +0200
            Re: Setting architectural features in stone Bruce Hoult <bruce.hoult@gmail.com> - 2016-08-04 06:39 -0700
              Re: Setting architectural features in stone nmm@wheeler.UUCP (Nick Maclaren) - 2016-08-04 17:40 +0000
      Re: Setting architectural features in stone nmm@wheeler.UUCP (Nick Maclaren) - 2016-08-03 09:40 +0000
        Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 09:50 -0700
          Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 10:14 -0700
            Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-04 06:11 -0700
              Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-04 06:14 -0700
      Re: Setting architectural features in stone Walter Banks <walter@bytecraft.com> - 2016-08-03 07:03 -0400
        Re: Setting architectural features in stone already5chosen@yahoo.com - 2016-08-03 04:12 -0700
          Re: Setting architectural features in stone already5chosen@yahoo.com - 2016-08-03 04:26 -0700
            Re: Setting architectural features in stone Walter Banks <walter@bytecraft.com> - 2016-08-03 07:50 -0400
          Re: Setting architectural features in stone Walter Banks <walter@bytecraft.com> - 2016-08-03 07:35 -0400
    Re: Setting architectural features in stone anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-03 06:42 +0000
      Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 00:03 -0700
        Re: Setting architectural features in stone anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-03 08:30 +0000
      Re: Setting architectural features in stone Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-03 11:02 +0100
        Re: Setting architectural features in stone Ivan Godard <ivan@millcomputing.com> - 2016-08-03 03:15 -0700
        Re: Setting architectural features in stone anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-03 11:53 +0000
          Re: Setting architectural features in stone Quadibloc <jsavard@ecn.ab.ca> - 2016-08-03 18:03 -0700
            Re: Setting architectural features in stone Bruce Hoult <bruce.hoult@gmail.com> - 2016-08-04 01:54 -0700
            Re: Setting architectural features in stone anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-04 09:28 +0000
      Re: Setting architectural features in stone timcaffrey@aol.com - 2016-08-04 09:48 -0700
        Re: Setting architectural features in stone Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-08-04 10:04 -0700

csiph-web