Sujet : Re: technology discussion → does the world need a "new" C ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 06. Jul 2024, 02:38:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6a76q$3gqkm$6@dont-email.me>
References : 1 2 3 4
User-Agent : Pan/0.158 (Avdiivka; )
On Fri, 5 Jul 2024 14:31:44 +0100, bart wrote:
C also is the only language that is supposed to work on any kind of
processor ...
I don’t think there is anything innate in the design of C to ensure that.
It was simply its popularity that meant it was usually the first language
implemented on a new processor.
For example, C assumes byte addressability. So that causes awkwardness on
architectures like the PDP-10, for example. It just so happened such
architectures became extinct at about the time the rise of 8-bit
microprocessors (and their more advanced successors) made byte-
addressability essentially universal.