The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "William H. Mitchell" <whm@msweng.com>
To: TUHS <tuhs@tuhs.org>
Subject: [TUHS] Re: History of non-Bell C compilers?
Date: Fri, 8 Mar 2024 11:33:15 -0700	[thread overview]
Message-ID: <61EFF186-2C9E-4FAB-9EE8-F2F15F1ADF22@msweng.com> (raw)
In-Reply-To: <CAKzdPgycs+z0igc-=1vizTSW9gGEmW8xGj43NmiFd7Rq403=8Q@mail.gmail.com>

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 <everything>' 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’s the best class you ever had?" comes up, my answer is, Dave Hanson’s 453.  Hanson’s 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’m 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 <robpike@gmail.com> wrote:
> 
> Chris Fraser and Dave Hanson did LLC and wrote a book about it, very clean and pedagogically valuable.
> 
> https://www.amazon.com.au/Retargetable-C-Compiler-Design-Implementation/dp/0805316701
> 
> -rob


  parent reply	other threads:[~2024-03-08 18:33 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 23:14 [TUHS] " Tom Lyon
2024-03-07 23:24 ` [TUHS] " Warner Losh
2024-03-07 23:39   ` Dave Horsfall
2024-03-07 23:49     ` Larry McVoy
2024-03-07 23:56       ` Luther Johnson
2024-03-08 14:03         ` John Foust via TUHS
2024-03-07 23:59       ` Greg 'groggy' Lehey
2024-03-08  0:08         ` Rich Salz
2024-03-08  0:30           ` Warner Losh
2024-03-08  0:57             ` Rob Pike
2024-03-08  1:08               ` Bakul Shah via TUHS
2024-03-08  1:10                 ` Rob Pike
2024-03-08  1:12                   ` Rob Pike
2024-03-08  1:22                     ` Bakul Shah via TUHS
2024-03-08  9:33               ` arnold
2024-03-08  9:45                 ` Wesley Parish
2024-03-08 13:06                   ` Luther Johnson
2024-03-08 18:33               ` William H. Mitchell [this message]
2024-03-10  3:14                 ` Adam Thornton
2024-03-11 22:21       ` Phil Budne
2024-03-07 23:52   ` Warner Losh
2024-03-08  0:15     ` Charles H Sauer (he/him)
2024-03-08  0:30       ` Marc Rochkind
2024-03-08  0:54         ` Heinz Lycklama
2024-03-08  1:48           ` segaloco via TUHS
2024-03-08  2:12             ` Tom Lyon
2024-03-08  2:13     ` Lawrence Stewart
2024-03-08  3:15     ` Jonathan Gray
2024-03-07 23:24 ` Luther Johnson
2024-03-07 23:27   ` Luther Johnson
2024-03-07 23:44     ` Tom Lyon
2024-03-08  0:24       ` Marc Rochkind
2024-03-08  1:27         ` Jeffry R. Abramson
2024-03-10  2:13         ` Greg A. Woods
2024-03-08  2:26 ` Will Senn
2024-03-08  3:03   ` Peter Yardley
2024-03-08  3:28 ` George Michaelson
2024-03-08  3:58   ` Luther Johnson
2024-03-08  5:53 ` Lars Brinkhoff
2024-03-08 13:42 ` Henry Bent
2024-03-08 14:00   ` arnold
2024-03-08 14:16   ` Warner Losh
2024-03-08 15:44 ` Paul Winalski
2024-03-08 17:18   ` Adam Thornton
2024-03-10  2:31 ` Damian Wildie
2024-03-11 17:12 Paul Ruizendaal
2024-03-11 20:44 ` Marc Rochkind
2024-03-11 22:28   ` Peter Yardley
2024-03-12  0:30     ` ron minnich
2024-03-12 13:31       ` Larry Stewart
2024-03-12 16:41     ` Paul Winalski
2024-03-12 14:55   ` Henry Bent
2024-03-12 17:17     ` Marc Rochkind
2024-03-13 14:37       ` Clem Cole
2024-03-13 15:28         ` Marc Rochkind
2024-03-13 15:33           ` Warner Losh
2024-03-13 15:53           ` Clem Cole
2024-03-12 15:42 ` Paul Ruizendaal
2024-03-12 23:08 Steve Simon
     [not found] <aee297f1-2f6a-4620-87f7-f1672ae03b61@osta.com>
2024-03-15  3:34 ` Heinz Lycklama

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61EFF186-2C9E-4FAB-9EE8-F2F15F1ADF22@msweng.com \
    --to=whm@msweng.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).