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,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16116 invoked from network); 13 Nov 2022 01:13:55 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 13 Nov 2022 01:13:55 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id EA65E41E1D; Sun, 13 Nov 2022 11:13:51 +1000 (AEST) Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) by minnie.tuhs.org (Postfix) with ESMTPS id 0691441E1C for ; Sun, 13 Nov 2022 11:13:47 +1000 (AEST) Received: by mail-vs1-f47.google.com with SMTP id t5so8392649vsh.8 for ; Sat, 12 Nov 2022 17:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=r0GRpI6RzDcSupzQ0OU/km71qv/SC79lwH8ZQE0qszM=; b=fs8K9qCKWOOcXHdviMw0FOIizrzjtXC0cFWV+WMioXEPI7TSzAueDm0t8+Vezpw11s jCMxdsAPuD9wW6DovjkgHiS6lk5h/enqrq29HAs0U1uRLqI3AGVs16eY513pi681cE+a hVHRN0eTnOiJc6M5LAH20A6+RKGKu0D6kyi9EWhfn647RAsGIX2V87cIjuFfn1f7lI35 L6UTQ2sS3G5MB6/6n6AG0WK+l6Fyav25INtfxMOS7TyjaFC39gsMjKN1C2Z8J/L/v0tR jpXFgMQEAvlRJwkXj/o8YvmGFF93aNKdfeXnwqr/TD13iFpnpVr6UMnFtz6wwKgyHTGm lTYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=r0GRpI6RzDcSupzQ0OU/km71qv/SC79lwH8ZQE0qszM=; b=DNp3HkS9zJMXPGy7aeuP2iwE6n3ORuZ3sOoHkyWDAOZz1r5/j68x7BoaakYK7fOVj/ VSZHhCHRBabONK68abFhDZ7/tytWOji2Xgaj6kDtmGlSCu6F+sXST3/1cohLA3xLYbXG 3VOIRkVimwyImvxXXEjLfrgi9Z+qRDa62ba6t+4Cl4O6KiowvNSdNER11ZI2PkcdppUk fWYf2ih5321WebW6tp1K5qLf7TXPekiEeIbchZiEYnvk+znxcFGwCz47GxrPyiwyA2O/ gFoao50xeZmKI6ASN4uQcYpjkGyNVeqdqLxxRbJqA5EPkagUWBmgDG4hdmEqhl7WfIpy LycA== X-Gm-Message-State: ANoB5pkTCrJHxIlMZgNw5dVfePpAcLz2bouM563lEqA5mKWt0/OIUdnm Y4D5U0usjOsak708mLY0nynZcRgfG/HX21vJCwY= X-Google-Smtp-Source: AA0mqf4h9mPlUrjybVJywmgaJsksa6rli/1dZHeUyVyXDOzLz/N7X6BDDAHOf6rkjCCmG7Nn1jvNv+L8vlB8Zh6ZWj0= X-Received: by 2002:a67:f84b:0:b0:3aa:a72:8b8a with SMTP id b11-20020a67f84b000000b003aa0a728b8amr3355893vsp.59.1668301965783; Sat, 12 Nov 2022 17:12:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Rob Pike Date: Sun, 13 Nov 2022 12:12:32 +1100 Message-ID: To: Kenneth Goodwin Content-Type: multipart/alternative; boundary="0000000000000c760405ed4fd296" Message-ID-Hash: LY2A4XHNHKM2QP5IWUVZGXNB3JVRK4D5 X-Message-ID-Hash: LY2A4XHNHKM2QP5IWUVZGXNB3JVRK4D5 X-MailFrom: robpike@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; 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: Book: "You Are Not Expected to Understand This" List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --0000000000000c760405ed4fd296 Content-Type: text/plain; charset="UTF-8" I find it fascinating how, just a few years after the difficulty of stack switching required a commented challenge in the Unix source, we were using setjmp and longjmp to do this with no fuss at all. Once the problem is solved, the solution can simplify dramatically. See https://github.com/plan9foundation/plan9/blob/main/sys/src/9/port/proc.c for instance - almost all of sched is bookkeeping and a comment about locks. The little burst at the bottom, starting around line 163, that does the work is so compact. (setlabel and gotolabel are setjmp and longjmp.) Insight. -rob On Sun, Nov 13, 2022 at 11:26 AM Kenneth Goodwin wrote: > Maybe it is just me, but I don't recognize any of the contributors listed > either at the bottom > > On Sat, Nov 12, 2022, 7:20 PM Dave Horsfall wrote: > >> I spotted this when glancing through a book catalogue; well, with a title >> like that how could I miss it? >> >> Subtitled "How 26 Lines of Code Changed the World", edited by Torie Bosch >> and illustrated by Kelly Chudler (can't say that I've heard of them). >> >> Summary: >> >> ``Programming is behind so much of life today, and this book draws >> together >> a group of distinguished thinkers and technologists to reveal the >> stories and people behind the computer coding that shapes our >> world. From how university's [sic] databases were set up to >> recognise only two genders to the first computer worm and the >> first pop-up ad, the diverse topics reveal the consequences of >> historical decisions and their long-lasting, profound implications. >> Pb $34.99'' >> >> Lines of code, eh? :-) >> >> Abbey's Bookshop: www.abbeys.com.au >> >> Disclaimer: I have no connection with them, but I'll likely buy it. >> >> -- Dave >> > --0000000000000c760405ed4fd296 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I find it fascinating how, just a few years after the difficulty = of stack switching required a commented challenge in the Unix source, we we= re using setjmp and longjmp to do this with no fuss at all. Once the proble= m is solved, the solution can simplify dramatically.

See=C2=A0ht= tps://github.com/plan9foundation/plan9/blob/main/sys/src/9/port/proc.c = for instance - almost all of sched is bookkeeping and a comment about locks= . The little burst at the bottom, starting around line 163, that does the w= ork is so compact. (setlabel and gotolabel are setjmp and longjmp.)

Insigh= t.

-rob


On Sun, Nov 13, 2022 at 11:26 AM Kenneth Goodwin <kennethgoodwin56@gmail.com>= wrote:
Maybe it is just me, but I don't recognize any of the contrib= utors listed either at the bottom=C2=A0

On Sat, Nov 12, 2022, 7:20 PM Dave H= orsfall <dave@hor= sfall.org> wrote:
I spotted this when glancing through a book catalogue; well, wit= h a title
like that how could I miss it?

Subtitled "How 26 Lines of Code Changed the World", edited by Tor= ie Bosch
and illustrated by Kelly Chudler (can't say that I've heard of them= ).

Summary:

``Programming is behind so much of life today, and this book draws together=
=C2=A0 a group of distinguished thinkers and technologists to reveal the =C2=A0 stories and people behind the computer coding that shapes our
=C2=A0 world.=C2=A0 From how university's [sic] databases were set up t= o
=C2=A0 recognise only two genders to the first computer worm and the
=C2=A0 first pop-up ad, the diverse topics reveal the consequences of
=C2=A0 historical decisions and their long-lasting, profound implications.<= br> =C2=A0 Pb $34.99''

Lines of code, eh? :-)

Abbey's Bookshop: www.abbeys.com.au

Disclaimer: I have no connection with them, but I'll likely buy it.

-- Dave
--0000000000000c760405ed4fd296--