Deutsch English Français Italiano |
<v6kma1$1jcln$7@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
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 <ldo@nz.invalid> 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: <v6kma1$1jcln$7@dont-email.me> 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> <v6crb5$1gpa$1@dont-email.me> 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.