From mboxrd@z Thu Jan 1 00:00:00 1970 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=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5344 invoked from network); 2 May 2023 12:20:48 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 2 May 2023 12:20:48 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 791904148A; Tue, 2 May 2023 22:20:43 +1000 (AEST) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by minnie.tuhs.org (Postfix) with ESMTPS id 30D6C41489 for ; Tue, 2 May 2023 22:20:37 +1000 (AEST) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2a8ba23a2abso36286781fa.2 for ; Tue, 02 May 2023 05:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683030035; x=1685622035; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nIwAvE6kBySy5BvOj0EZAjIrwpVBVRFQ/DQTBazToGQ=; b=EoKmVvjikc9E5tc1avCr2NCAlkwY27g1UWcwHMtr5rw5wibpWUCY5iEl5HzbDSTSKc avxKObYQRCSd2gj4aX13hn/jYWKjTEYbzudOFhQjptNCWXGPNV6ay1/x9k1KLWW+s+ex 1ChbpVgsBz/scyWF0yA+R50ziqx/E0z79DwCAXT4Wg78PMx5ObdCs5booFCb7XJZPYX8 MkbadtHQr8+fQWdzJJkpI/B6rjo67toAqBJds9LKdQG+hVMUmzcpRNolGQSM5d1GLmyx kYcw622yKZoYJPVqPu+BuDNlJFVXYyvkgYBCqB6Busj6sMDBVhB/Hhrbvoqf691D7CZc VR0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683030035; x=1685622035; h=content-transfer-encoding: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=nIwAvE6kBySy5BvOj0EZAjIrwpVBVRFQ/DQTBazToGQ=; b=G8HKLYzmgfG3roLveLezPIJhxff4o+08zhj+ha6/F2XD3ab3OBw3zJTq4XrBiz5gow UI42hlKynnu4L/G+1YDkTBrBsFPcCEscMTFjSYZVCHiuXUKXww4E+8cLBS0Ipdurwj7w XToVhPlCbZFfuRjo5O2Myol9wPtEbdXv/gsHvK5xOkiYI0zaqZG2eroHLsGComCeloPk 6bWC5/Mjxm+79k4Eo8AHVFtXxWMBs5AT6uq5uPxdkkZ/pKaUa0SigHrRcU50W+8hZFmI F9NBgjPLUazwhBEm8QNTyu3D0AebTDNl0kH16+UDWiz7Zcy8JDWyaqj67RekvT174mzs jWJA== X-Gm-Message-State: AC+VfDw5oc5xZP6pGywmsJEq5qHV903Zw5GG8WwCCPJNC5CP23YS6RqA gw1JM9nWBFsZzF6riBx1a2JInG5zxCdCuVOn9zILegNq X-Google-Smtp-Source: ACHHUZ4KVFPliaFiX5llUBU+xgimT8+GyGK+EOP2kSwNQyZxHFhE6C2Ek0uzrr8EUvgWwrP2pFz0rBbDXiSeC5Wsr6o= X-Received: by 2002:a2e:9bd3:0:b0:2a7:748c:1eef with SMTP id w19-20020a2e9bd3000000b002a7748c1eefmr4565550ljj.38.1683030034862; Tue, 02 May 2023 05:20:34 -0700 (PDT) MIME-Version: 1.0 References: <20230502023451.GK29744@mcvoy.com> In-Reply-To: <20230502023451.GK29744@mcvoy.com> From: Dan Cross Date: Tue, 2 May 2023 08:19:58 -0400 Message-ID: To: Larry McVoy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Message-ID-Hash: HSGKPN75BM4EED7KJGM3LGWUBARQ7KGY X-Message-ID-Hash: HSGKPN75BM4EED7KJGM3LGWUBARQ7KGY X-MailFrom: crossd@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: TUHS X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Revisiting 6th Edition: rxv64 List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, May 1, 2023 at 10:34=E2=80=AFPM Larry McVoy wrote: > I have to say I'm impressed. This is way beyond what I could do at my > age. I think it is awesome that younger people are picking up what > Unix meant and redoing it. Thank you, Larry! I must say, though, that without starting from the framework of xv6, and of course 6th Edition itself, it would have been much harder to get this going. Indeed, this exercise gave me a much greater appreciation for the towering work done in early Unix: I had the luxury of working with an emulator that I could restart with abandon, and I could also attach a debugger to it, trivially inspect machine state (including registers and physical memory) from the monitor, etc. Moreover, I had a very comfortable development environment, a very mature compiler, and I could run e.g. unit tests directly in the kernel. All of this makes development of kernel-level code dramatically easier. I have a hard time imagining just how much more difficult it would be to do this kind of thing on bare hardware, let alone something like a PDP-11 with a teletype for a terminal. Truly, we stand on the shoulders of giants. - Dan C. > On Mon, May 01, 2023 at 09:55:26PM -0400, Clem Cole wrote: > > Very cool > > > > On Mon, May 1, 2023 at 9:49 PM Dan Cross wrote: > > > > > I've mentioned tangentially this a few times, but over the weekend I > > > finally got around to dusting off the code and getting it running: > > > https://github.com/dancrossnyc/rxv64.git > > > > > > rxv64 is a rewrite of MIT's xv6, which in turn, reimagines 6th Editio= n > > > as a purely pedagogical system, implemented in ISO C for 32-bit SMP > > > x86 machines. > > > > > > Building on xv6, rxv64 is implemented in Rust and targets 64-bit > > > x86_64. It works well enough to boot up, run a shell, and run > > > commands, but it doesn't really have much of a userland at present. > > > > > > I started this as a pedagogical tool, being something that one could > > > point working engineers at as an example of a "real" operating system > > > implemented on real hardware in Rust. The code could surely be made > > > safer and more comprehensible, but cycles are short at present, and > > > it's better to just get it out there. > > > > > > Have fun. > > > > > > - Dan C. > > > > > -- > > Sent from a handheld expect more typos than usual > > -- > --- > Larry McVoy Retired to fishing http://www.mcvoy.com/lm= /boat