From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id DBFD522F2D for ; Fri, 8 Mar 2024 19:33:36 +0100 (CET) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id C448C436B4; Sat, 9 Mar 2024 04:33:25 +1000 (AEST) Received: from mail3.nightskyhosting.com (mail3.nightskyhosting.com [66.172.0.245]) by minnie.tuhs.org (Postfix) with ESMTPS id 7074A4367C for ; Sat, 9 Mar 2024 04:33:17 +1000 (AEST) Received: from smtpclient.apple (c-73-24-217-16.hsd1.az.comcast.net [73.24.217.16]) by mail3.nightskyhosting.com (Postfix) with ESMTPSA id 8B1FA55C039E for ; Fri, 8 Mar 2024 10:33:16 -0800 (PST) From: "William H. Mitchell" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Date: Fri, 8 Mar 2024 11:33:15 -0700 References: <20240307234921.GO2252@mcvoy.com> To: TUHS In-Reply-To: Message-Id: <61EFF186-2C9E-4FAB-9EE8-F2F15F1ADF22@msweng.com> X-Mailer: Apple Mail (2.3696.120.41.1.8) Message-ID-Hash: WCADAHB4PDL4EBJYE6AGS6QA4UGSPV6T X-Message-ID-Hash: WCADAHB4PDL4EBJYE6AGS6QA4UGSPV6T X-MailFrom: whm@msweng.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: History of non-Bell C compilers? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Speaking of Hanson, I had the great privilege of taking a compilers = class from him at the U of Arizona in the early 80s. We wrote a = recursive descent C compiler, a linker, and a debugger. They were all = "real", albeit with simplifications. Hanson wrote the DEC-10 C compiler = that we students used. He wrote enough of an i/o library for our needs, = with installments barely ahead of when we needed them. :) An interesting simplification Hanson used was that 'sizeof ' = was 1. I still marvel at what a great lesson about C that is. (A YAGNI = lesson, too, I suppose.) When the question of "What=E2=80=99s the best class you ever had?" comes = up, my answer is, Dave Hanson=E2=80=99s 453. Hanson=E2=80=99s slides = (and more) are in = https://www2.cs.arizona.edu/~whm/csc453-fall1983-DRHanson.pdf. The = slides start on 44. I also worked for both Hanson and later, Fraser. To this day I=E2=80=99m = impressed that Fraser consistently resisted the temptation for choke me = to death for being an idiot who thought he knew everything. The LCC book Rob cites below is surely a classic and, as written in its = Foreword, the book is an example of a "literate program". --whm > On Mar 7, 2024, at 5:57 PM, Rob Pike wrote: >=20 > Chris Fraser and Dave Hanson did LLC and wrote a book about it, very = clean and pedagogically valuable. >=20 > = https://www.amazon.com.au/Retargetable-C-Compiler-Design-Implementation/dp= /0805316701 >=20 > -rob