Re: technology discussion → does the world need a "new" C ?

Liste des GroupesRevenir à l c 
Sujet : Re: technology discussion → does the world need a "new" C ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.c
Date : 10. Jul 2024, 01:57:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6kma1$1jcln$7@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.158 (Avdiivka; )
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.

Date Sujet#  Auteur
10 Jul 24 * Re: technology discussion → does the world need a "new" C ?9Lawrence D'Oliveiro
10 Jul 24 `* Re: technology discussion → does the world need a "new" C ?8James Kuyper
11 Jul 24  `* Re: technology discussion → does the world need a "new" C ?7Lawrence D'Oliveiro
11 Jul 24   +* Re: technology discussion → does the world need a "new" C ?2David Brown
11 Jul 24   i`- Re: technology discussion → does the world need a "new" C ?1Malcolm McLean
11 Jul 24   +* Re: technology discussion → does the world need a "new" C ?3bart
11 Jul 24   i`* Re: technology discussion → does the world need a "new" C ?2Chris M. Thomasson
12 Jul 24   i `- Re: technology discussion → does the world need a "new" C ?1Chris M. Thomasson
11 Jul 24   `- Re: technology discussion → does the world need a "new" C ?1James Kuyper

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal