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_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27731 invoked from network); 4 Aug 2021 22:41:49 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2021 22:41:49 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 0B1CF9CADF; Thu, 5 Aug 2021 08:41:47 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 9ECB19CAA5; Thu, 5 Aug 2021 08:41:23 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ccil-org.20150623.gappssmtp.com header.i=@ccil-org.20150623.gappssmtp.com header.b="TPvPZd4U"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 326829CAA5; Thu, 5 Aug 2021 08:41:21 +1000 (AEST) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by minnie.tuhs.org (Postfix) with ESMTPS id F36B09CAA4 for ; Thu, 5 Aug 2021 08:41:19 +1000 (AEST) Received: by mail-qt1-f172.google.com with SMTP id k13so2526817qth.10 for ; Wed, 04 Aug 2021 15:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccil-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YnFxJZ7VrJtKz6gLvSnlyxrZL3ZVrdEqYZtoRZ5AmTs=; b=TPvPZd4UTrpM0N5qUHGd2aECTlMf7EWfkwH/hGCH7N3gsRpDatek+CfcPXSFwbASV9 2s4mxKrRecU+QLNynPPTKvW1/2c1fNcLcZ4cuuxSPnxTgS977ssetuuYjg9px4mWGZB2 wCXNY43iq+tpeC7qggjBeLbqhtlN1hz6LJEz/NCu9vWvCS1zYDGm0eToPzuTlfGcS1Z9 qTp/Rp3KDkwQFygtWgseaSlJ10q7+lVfjtC4djQwmMd3RghqNBBdBYPPDrOpgNDZ2Br3 jY+4NVYZDVdM6yt+KxvB4ZR5ClPtlRn3r3JmVgCw9wTiWOuAtuPCzvJ5CDcxezjmkCMh fp6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YnFxJZ7VrJtKz6gLvSnlyxrZL3ZVrdEqYZtoRZ5AmTs=; b=swtKKI0UCq3o3DFPU8LTwbBiqwraM1pMiZuA7bgC3aZcwIdYQs00vQI4jXTkobwPr6 /mXLKGxZL4OewIPHTEW1p8VVRGweJSewRFDKAy3tzWhhPGnLKMjTWfnk6S8L+TyAXp2m ksqatSaMwXlUnPzYbpVNdAx+ExmpVpcMAIkDtdzJO69TQxFq6Fa3plAZUOtrM3COigrs nzbhthrDP5EGkStszGS7fyPR0NMLelnV7qi5xnKE7iqK9olD/sZ5mpvnVML4BqogyDy1 VQxBKwH31qNOt5ntybPOmDh4UPDYIznjbIopi0/HFOJdfd3vNOfWzhisxPHPJ3rBXylf U6OQ== X-Gm-Message-State: AOAM530Y84nvBfPoeHMXl1lVFRcgGnkKfD12+4K08Lni0s1bMuMWqyZX 8hdM69Gu0ho8XNfGRhaedN4QefahojA4/MRx9vXEfA== X-Google-Smtp-Source: ABdhPJwL1RLrkgINJ2eNjFowU9Om/4sxgpd6vGLinq2IBhiMg2lOflWUCqMrVOEWej4LANMPmR8qv5/0yajdGZiqllY= X-Received: by 2002:ac8:1184:: with SMTP id d4mr1775435qtj.56.1628116878995; Wed, 04 Aug 2021 15:41:18 -0700 (PDT) MIME-Version: 1.0 References: <20210804220208.GK9074@mcvoy.com> In-Reply-To: <20210804220208.GK9074@mcvoy.com> From: John Cowan Date: Wed, 4 Aug 2021 18:41:08 -0400 Message-ID: To: Larry McVoy Content-Type: multipart/alternative; boundary="00000000000039c97e05c8c38087" Subject: Re: [TUHS] Threads vs... not X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000039c97e05c8c38087 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 4, 2021 at 6:02 PM Larry McVoy wrote: > A computer is a state machine. Threads are for people who can't > program > state machines. > > Alan Cox Orly? Try embedding an LL(1) parser in an event loop that gives you a new event every time a block is read off the disk. Event loops are just manual CPS transformations of coroutines -- but why do the transformation manually instead of having your compiler do it for you? --00000000000039c97e05c8c38087 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --00000000000039c97e05c8c38087--