| Deutsch English Français Italiano |
|
<864j55vss9.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
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 <tr.17687@z991.linuxsc.com> 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> <d8cffb389b3fd055ee70e87da9a3403a@www.novabbs.org> <ven3mo$11b4$1@gal.iecc.com> <d846ca1b9b2369678958c0806d8c4628@www.novabbs.org> <venaq7$r1p$1@gal.iecc.com> <verpp7$2sn0i$1@dont-email.me> <vf2a93$agbh$3@dont-email.me> <fjnahjlsb0s1npt84fb8bineqan37mpm9v@4ax.com> 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 <gneuner2@comcast.net> writes: > On Sun, 20 Oct 2024 07:08:20 -0000 (UTC), Lawrence D'Oliveiro > <ldo@nz.invalid> wrote: > >> On Thu, 17 Oct 2024 19:49:59 -0000 (UTC), Thomas Koenig wrote: >> >>> On 2024-10-16, John Levine <johnl@taugh.com> 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.)