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=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 740B122C0E for ; Fri, 8 Mar 2024 02:08:32 +0100 (CET) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 203544319B; Fri, 8 Mar 2024 11:08:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1709860109; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-owner:list-unsubscribe: list-subscribe:list-post; bh=DiU2rSdUNED2H/5AGdNn1EmpTNcgIX890oSeBEGgNvg=; b=Bx2IJVO7yB8N1t63IpAnu1JxIgMcRUocIxzMdLXrxueI6w0eHbxYuxMmagcefOx+gFiMqH mSUixQvl8h+BA1bNpWRvEImp2UvU8JHpHrNc3KVvh9s5jwm/ezRIuISnR+tHgEQmyhGVAW 7KQFwmLWGl1oS1X8eRwMLCvYk8GiVjU= Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by minnie.tuhs.org (Postfix) with ESMTPS id A376643168 for ; Fri, 8 Mar 2024 11:08:22 +1000 (AEST) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1dd10ae77d8so13558245ad.0 for ; Thu, 07 Mar 2024 17:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1709860102; x=1710464902; darn=tuhs.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=DiU2rSdUNED2H/5AGdNn1EmpTNcgIX890oSeBEGgNvg=; b=0W9Wx0lSbLhLOgEbbyva3Mdu1YM85f2L+Rqehk1TApnne1zicjfKHmZjUWh2vtPW+E pUeOdL5nPYoIiLGab/vFBvFLQb7xD3/Zh7sGfHJIHyUTsoQU2VDiG+7s3UpmiOlWu1nw R9mOGhFvCnjY5xobCySOQyEoBnzipZT1SF3zAVQPAb1VxxFQYTU7loGc39PMLAP2H7rO SwjyxL12AYYp2geRSwAKh+ddYYPlVb+9J0bQJUD9Y93sfjMX4l64i1EmJBujIY7zEvgl FO98TI26lj5tTNP7nlTRH6CsWMMZgPP90eRbZczPtlm+3pWpyCvEfTf2muDDtiXkslOB 4TRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709860102; x=1710464902; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DiU2rSdUNED2H/5AGdNn1EmpTNcgIX890oSeBEGgNvg=; b=sf8xCAdFRRtMyT99mX8r1A+DkIZYBhhc9pFxiD2CS0jqpo7PT7Nvop/XGqEs3AUIH4 6JyVRbqo/yhmZ5gOOcuPzPDk0Hp6A4u9ovDIs5jjgAVhsMmqf3DR3bE7L6ioL7/vT/Ru dfqOlBINrp6PsUEPLhIf1PXlQuvGQe/obNSEqIwR5ZcFT2uLKH2bf/3aJ8CRI9NxSB5r vcKW0v03J/9VQ3iSTdvqgi8B0MGCMRr2kzGta8sQTtRUAwcu4h8lTJGP3Cq9QA9Wk7wc LNPRFfczCg4HQGw0T0uWdqgPEjboPO2ZjJhvDerQGPhZmvl/y7ptdO1Qg6rf4UbNq/hc VCew== X-Forwarded-Encrypted: i=1; AJvYcCXFCtSEKLjiRNrCE5gQrrtFZ/qKVQYaQOir7RwJhMgVXfP9OF0mTQmqHOJtvWum1CBqOWyw2wBaEXM2NmHX X-Gm-Message-State: AOJu0YyjUs2RyH1RNhUSnE/uhjHOwNpR4k4xtMFXYi9+UV8PXJ39U9B6 QOrti0SoQTyVRBhtETtC0qRzkFUWEyvBTh0iK60ZtHWmrJ1VtPo08/w9IwVC4g== X-Google-Smtp-Source: AGHT+IHmmsK8rFag0/915f+hmqlqw0t3He1luyp0hucMMCC8iEsjyydZHcZIaUrO2wy6cgKNtrXvhQ== X-Received: by 2002:a17:902:e808:b0:1dd:b9a:5772 with SMTP id u8-20020a170902e80800b001dd0b9a5772mr12090223plg.19.1709860101780; Thu, 07 Mar 2024 17:08:21 -0800 (PST) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id p1-20020a170902e74100b001dd0a41447fsm9612410plf.233.2024.03.07.17.08.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2024 17:08:21 -0800 (PST) Message-Id: <8478FB11-64ED-43CE-90AD-6F2011282451@iitbombay.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_2B3873AE-C4AC-4749-9850-EF9B8CE7237C" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Date: Thu, 7 Mar 2024 17:08:10 -0800 In-Reply-To: To: Rob Pike References: <20240307234921.GO2252@mcvoy.com> X-Mailer: Apple Mail (2.3774.400.31) Message-ID-Hash: ZQ6JNVJPLPHERBX5FBBKXDF4B4GVHK3J X-Message-ID-Hash: ZQ6JNVJPLPHERBX5FBBKXDF4B4GVHK3J X-MailFrom: bakul@iitbombay.org 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: From: Bakul Shah via TUHS Reply-To: Bakul Shah X-Spam: Yes --Apple-Mail=_2B3873AE-C4AC-4749-9850-EF9B8CE7237C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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: >=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 >=20 >=20 > On Fri, Mar 8, 2024 at 11:31=E2=80=AFAM Warner Losh > wrote: >>=20 >>=20 >> On Thu, Mar 7, 2024 at 5:08=E2=80=AFPM Rich Salz > wrote: >>> I believe Snyder was an MIT Master's thesis, finished in 1975[1]. = There was a fair amount of C and compiler work at MIT LCS, perhaps JNC = can post some info. I think Snyder's compiler was used for 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 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. >>>=20 >>> [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 >>=20 >> Judging from what's at the bitsavers I posted, the source for pcip = and this is the backstory to them. >>=20 >> Warner --Apple-Mail=_2B3873AE-C4AC-4749-9850-EF9B8CE7237C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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 <robpike@gmail.com> = wrote:

Chris Fraser and Dave Hanson did = LLC and wrote a book about it, very clean and pedagogically = valuable.


-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> = wrote:
I believe Snyder was an MIT Master's = thesis, finished in 1975[1].  There was a fair amount of C and = compiler work at MIT LCS, perhaps JNC can post some info. I think = Snyder's compiler was used for 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 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.


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

Warner

= --Apple-Mail=_2B3873AE-C4AC-4749-9850-EF9B8CE7237C--