Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.arch
Subject: Re: C and turtles, 80286 protected mode
Date: Mon, 21 Oct 2024 18:19:02 -0700
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <864j55vss9.fsf@linuxsc.com>
References: <2024Oct6.150415@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Tue, 22 Oct 2024 03:19:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e4af849faf20eca6ea4b74d057db527f";
logging-data="1220584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185GyuxCds0Y4uwltFTnxZSIDIPvuTtDPI="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:oDU1xx79sqIG/xYQBcaOV6S4LsQ=
sha1:Vbf0eqwIlwReqDm3vM7N8ZoZx0s=
Bytes: 2604
George Neuner writes:
> On Sun, 20 Oct 2024 07:08:20 -0000 (UTC), Lawrence D'Oliveiro
> wrote:
>
>> On Thu, 17 Oct 2024 19:49:59 -0000 (UTC), Thomas Koenig wrote:
>>
>>> On 2024-10-16, John Levine wrote:
>>>
>>>> The first C standard wasn't published until 1985.
>>>
>>> Wasn't it 1989?
>>
>> As I recall, the ANSI standard corresponded to the second edition of the
>> K&R book.
>
> I may be mistaken, but my recollection is that '89 ANSI corresponded
> to the Kernighan and Plauger book.
The book by Kernighan and Ritchie, The C Programming Language, was
first published in 1978; the second edition was published in 1988.
The book by Kernighan and Plauger, Elements of Programming Style,
was first published in 1974, with a second edition published in 1978.
The second edition of K&R was written during the time that the C
standardization effort (started roughly 1982) was taking place. The
intent of K&R 2 was to reflect the language specification of the
anticipated ANSI C standard. My understanding is that K&R 2, because
it was finished a year or two before the ANSI C standard was finished,
has some minor differences with respect to C89. (I have not made any
effort to see whether that is so; I am simply passing along second
hand information.)