Deutsch English Français Italiano |
<871q46upke.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse <ben@bsb.me.uk> Newsgroups: comp.lang.c Subject: Re: technology discussion =?utf-8?Q?=E2=86=92?= does the world need a "new" C ? Date: Sat, 06 Jul 2024 23:24:17 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: <871q46upke.fsf@bsb.me.uk> References: <v66eci$2qeee$1@dont-email.me> <v67gt1$2vq6a$2@dont-email.me> <v687h2$36i6p$1@dont-email.me> <v68sjv$3a7lb$1@dont-email.me> <v6a76q$3gqkm$6@dont-email.me> <87plrruvmt.fsf@nosuchdomain.example.com> <v6argi$3ngh6$5@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 07 Jul 2024 00:24:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="213b794f72069ae5495c2f80bfa9f0a2"; logging-data="4177794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yTMLbd/JUj55SuENJGoNz2bhzGYeEy28=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Vhy+EV9zTXQw7VXIXAJpymWtzQg= sha1:H7qXxpkFsslAEkk0aG8EDvVVkZU= X-BSB-Auth: 1.e3bb2beb27e645479c9b.20240706232417BST.871q46upke.fsf@bsb.me.uk Bytes: 1742 Lawrence D'Oliveiro <ldo@nz.invalid> writes: > On Fri, 05 Jul 2024 19:00:58 -0700, Keith Thompson wrote: > >> C assumes byte addressibility, but it doesn't assume that bytes are 8 >> bits. >> >> The PDP-10 had 36-bit words and could operate on bit fields of any size >> from 1 to 36 bits. > > But it couldn’t address them. And C does not assume that the hardware can address bytes. On word addressed machines, some pointer conversions generate code. -- Ben.