From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 5e46b4eb for ; Thu, 20 Feb 2020 17:25:19 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 1CC7F93DA4; Fri, 21 Feb 2020 03:25:17 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C0DB393D2D; Fri, 21 Feb 2020 03:25:00 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 3C06D93D2D; Fri, 21 Feb 2020 03:24:58 +1000 (AEST) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by minnie.tuhs.org (Postfix) with ESMTP id D7FD093D1B for ; Fri, 21 Feb 2020 03:24:57 +1000 (AEST) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 80063156E411 for ; Thu, 20 Feb 2020 09:24:50 -0800 (PST) To: tuhs@minnie.tuhs.org In-reply-to: Your message of "Thu, 20 Feb 2020 08:23:08 -0800." <20200220162308.GK30841@mcvoy.com> References: <202002180017.01I0HI0I1415945@darkstar.fourwinds.com> <20200219044444.GO30841@mcvoy.com> <615399517.295857.1582135972871@email.ionos.co.uk> <202002200727.01K7RFwj014313@freefriends.org> <20200220162308.GK30841@mcvoy.com> Comments: In-reply-to Larry McVoy message dated "Thu, 20 Feb 2020 08:23:08 -0800." From: Bakul Shah MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12430.1582219490.1@bitblocks.com> Date: Thu, 20 Feb 2020 09:24:50 -0800 Message-Id: <20200220172457.80063156E411@mail.bitblocks.com> Subject: Re: [TUHS] man Macro Package and pdfmark 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Thu, 20 Feb 2020 08:23:08 -0800 Larry McVoy wrote: > > Think of it this way: threads are like salt, not like pasta. You > like salt, I like salt, we all like salt. But we eat more pasta. Go is quite salty! Erlang even more so. > A computer is a state machine. Threads are for people who can't > program state machines. I have written both event based (state machine) and thread based programs. Each style has its pros and cons. Control flow is cleaner in threads but managing shared state is trickier. In state machines managing state is easier but control flow is a pain. Not to mention state machine don't benefit from multiple h/w threads.