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.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 975AE24DAB for ; Fri, 8 Mar 2024 02:10:47 +0100 (CET) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CA39B43247; Fri, 8 Mar 2024 11:10:43 +1000 (AEST) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by minnie.tuhs.org (Postfix) with ESMTPS id 2BFF143245 for ; Fri, 8 Mar 2024 11:10:40 +1000 (AEST) Received: by mail-ua1-x92d.google.com with SMTP id a1e0cc1a2514c-7da728b0597so673115241.1 for ; Thu, 07 Mar 2024 17:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709860239; x=1710465039; darn=tuhs.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=H+cz00EOfCoTeCNuEM8eNxrH57BksIJRwXgDWUB8Z5M=; b=GHI3ptVgts6Uu+Kxz3q2/G/4upMHfMcbqP3r/NeDg3PP97iVVH89hw6Orc8hVGvPh+ CrNAzQsTTarmzbZ1k5SGwQXRmir11F+WHYx86vHJaJzqu2NTBKkuaCuG7nnkCTjbZaMg KKUQAMjZzi3p3uTK57bIjhyCOYslpU+0TNTbiop5uWUZP7fZ6BhkXboCKOWIURu48yDb hALo94Rq1EVWJwiNestxOtI2QPQvKzDiNJaeYmFv9G5bU0bezjfW0T9JcMXBEKLytrm9 VsZ7AmXzqki/ZA60SwGB1VUrAo0G2YkIv82TWnTvJA4y1b7w3aVMnsuLG9iy6xcU1Tbx Bbtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709860239; x=1710465039; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H+cz00EOfCoTeCNuEM8eNxrH57BksIJRwXgDWUB8Z5M=; b=cCRvPa2YiYckBi9k/TqhxbyTcZnGYBlimxI5XTf2fTGh+D47eZN/kizlNgsfI+uPVM QJxnvfKRTs7wq+vPnlSY+wyJnd+4GrDBMAykqCwmk89M6hgmSFskli1Movmp5PjuNCED Y8J3AiO8OjotGYBaZfn+3UOPmIeTPLNiMvkBPYDO6oBQpFXSqJncdiWK3AgE64oDo1LZ 0YyOfv5z8Vy2mnVjjRrU5o8kDvsSImOCj2VEpuRVf5IHiQdKV7ug7vUJhibo7WGbEQxw KN9K4GuZGjJjOVZ/2ZQ90gsbio8OQwxRoRX5CF4UrpffiZQK+/43I/d4s3nvfDxY0Pje FfnQ== X-Forwarded-Encrypted: i=1; AJvYcCWJHom40yf1XsU6YBDNNGPAWfMBrFx4Pc6nd5lgQWHqSf8PWpdDArVVfMmwWQp5UiUtOCt9m4T90COoJAyw X-Gm-Message-State: AOJu0YwECygqw9Jpx2skGAd/YZd9g0F4amFERvv54ZmOXN1vQ0r9qtdf KXLxeboZHwlyZ4qO6EDyCwNbl70MmXprAnW+MLeZNhBtUKnTVLa5oViVdUkmLnXdXRZ9ipGK9aK JWcENkooOyVMcog9fQ2x7LsV0be47YNCj3v8= X-Google-Smtp-Source: AGHT+IGFd0dOHp3cv4YHH8DXVVG616aDGf3gZthIUlTaazupKOIOE4bKsB07aABBnq2j3CM3lenWz9V/dId+cmviVLg= X-Received: by 2002:a05:6102:2446:b0:472:6186:9e04 with SMTP id g6-20020a056102244600b0047261869e04mr9266491vss.27.1709860238940; Thu, 07 Mar 2024 17:10:38 -0800 (PST) MIME-Version: 1.0 References: <20240307234921.GO2252@mcvoy.com> <8478FB11-64ED-43CE-90AD-6F2011282451@iitbombay.org> In-Reply-To: <8478FB11-64ED-43CE-90AD-6F2011282451@iitbombay.org> From: Rob Pike Date: Fri, 8 Mar 2024 12:10:27 +1100 Message-ID: To: Bakul Shah Content-Type: multipart/alternative; boundary="00000000000028629c06131bdc80" Message-ID-Hash: 2RC7YBOFORBBXAVYRJ2VAM3PIY4TGQ4D X-Message-ID-Hash: 2RC7YBOFORBBXAVYRJ2VAM3PIY4TGQ4D X-MailFrom: robpike@gmail.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 CC: The Eunuchs Hysterical Society 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: --00000000000028629c06131bdc80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes. Ken wrote the first version for the National 32000 (maybe even 16000?) on the Sequent. He ported to the MIPS when we started Plan 9. -rob On Fri, Mar 8, 2024 at 12:08=E2=80=AFPM Bakul Shah wr= ote: > What is the history of Plan9's C compiler? Was it a from scratch > implementation? > > On Mar 7, 2024, at 4:57=E2=80=AFPM, Rob Pike wrote: > > Chris Fraser and Dave Hanson did LLC and wrote a book about it, very clea= n > and pedagogically valuable. > > > https://www.amazon.com.au/Retargetable-C-Compiler-Design-Implementation/d= p/0805316701 > > -rob > > > On Fri, Mar 8, 2024 at 11:31=E2=80=AFAM Warner Losh wrot= e: > >> >> >> On Thu, Mar 7, 2024 at 5:08=E2=80=AFPM Rich Salz w= rote: >> >>> I believe Snyder was an MIT Master's thesis, finished in 1975[1]. Ther= e >>> was a fair amount of C and compiler work at MIT LCS, perhaps JNC can po= st >>> some info. I think Snyder's compiler was used for the MIT PC/IP[2] proj= ect; >>> the links at BitSavers imply they are related. PC/IP brought TCP and >>> clients to DOS 3 machines and was commercialized as FTP software and wa= s >>> one of the reasons for the creation of the MIT license[4]. BDS C[3] was >>> done by an MIT drop-out, Leor Zolman. I bought my first motorcycle from= him >>> :) BDS C was used for the first implementations of MINCE (mince is not >>> complete emacs -- those kinds of acronyms were popular) and Scribble, >>> downsized clones of emacs and Scribe, respectively. >>> >>> [1] http://www.lcs.mit.edu/publications/specpub.php?id=3D717 >>> [2] https://web.mit.edu/Saltzer/www/publications/pcip-1986.pdf >>> [3] https://en.wikipedia.org/wiki/BDS_C >>> [4] https://ieeexplore.ieee.org/document/9263265 >>> >> >> Judging from what's at the bitsavers I posted, the source for pcip and >> this is the backstory to them. >> >> Warner >> > > --00000000000028629c06131bdc80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes. Ken wrote the first version for the National 32000 (maybe ev= en 16000?) on the Sequent. He ported to the MIPS when we started Plan 9.

=
-= rob


On Fri, Mar 8, 2024 at 12:08=E2=80=AFPM Bakul Shah <bakul@iitbombay.org> wrote:
What is the history= of Plan9's C compiler? Was it a from scratch implementation?
=

On Mar 7, 2024, at 4:57=E2=80=AFPM,= Rob Pike <robpik= e@gmail.com> wrote:

Chris Fraser and Dave Ha= nson did LLC and wrote a book about it, very clean and pedagogically valuab= le.


-rob


On Fri, Mar 8, 2024 at 11:31=E2=80=AFAM Warner Losh <imp@bsdimp.com> wrote:


On Thu, Mar 7, 2024 at 5:08=E2=80=AFPM Rich Salz <rich.salz@gmail.com&= gt; wrote:
I believe Snyder was an MIT Master's thesis, finished= in 1975[1].=C2=A0 There was a fair amount of C and compiler work at MIT LC= S, perhaps JNC can post some info. I think Snyder's compiler was used f= or the MIT PC/IP[2] project; the links at BitSavers imply they are related.= PC/IP brought TCP and clients to DOS 3 machines and was commercialized as = FTP software and was one of the reasons for the creation of the MIT license= [4]. BDS C[3] was done by an MIT drop-out, Leor Zolman. I bought my first m= otorcycle from him :) BDS C was used for the first implementations of MINCE= (mince is not complete emacs -- those kinds of acronyms were popular) and = Scribble, downsized clones of emacs and Scribe, respectively.


Judging from what'= ;s at the bitsavers I posted, the source for pcip and this is the backstory= =C2=A0to them.

Warner

--00000000000028629c06131bdc80--