Path: ...!weretis.net!feeder9.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.c Subject: Re: technology discussion =?UTF-8?B?4oaS?= does the world need a "new" C ? Date: Wed, 10 Jul 2024 00:57:37 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <87plrruvmt.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Jul 2024 02:57:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="83faea724cb5b4bced74d3ca3430f18f"; logging-data="1684151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XEUogMMTuOjNgrkhDHuDQ" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:vtQssFCqTn0SPC6P97n/+eZcwbU= Bytes: 1810 On Sat, 6 Jul 2024 21:34:29 -0400, James Kuyper wrote: > On many platforms, if _Alignof(type) is less than the word size, then a > C pointer to that type is implemented as the combination of the machine > address of the correct word, combined with an offset within that word of > the first byte of that object. Which is a terrific idea, except it cannot be carried to its logical conclusion (addressing of arbitrarily-aligned dynamically-defined bitfields) because of the requirement in the C spec that the size of a “byte” be at least 8 bits.