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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12474 invoked from network); 2 Jun 2020 23:09:37 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Jun 2020 23:09:37 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 780B19CAD5; Wed, 3 Jun 2020 09:09:35 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C15A89CA34; Wed, 3 Jun 2020 09:09:21 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="b4UHrqty"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id A82EA9CA34; Wed, 3 Jun 2020 09:09:20 +1000 (AEST) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) by minnie.tuhs.org (Postfix) with ESMTPS id 4D2709C96B for ; Wed, 3 Jun 2020 09:09:20 +1000 (AEST) Received: by mail-vs1-f46.google.com with SMTP id u17so273309vsu.7 for ; Tue, 02 Jun 2020 16:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kLUb/zEXCayMSnbFEIam82Wvjiz9C/QS2tQeLdEtrc0=; b=b4UHrqtyRUK95Dhfkz5mnwJdq6eAGrL4blAkkRpYJVdfKoecvrakXyNyDIHN+LoVmq oHeLrFNxt/uJUbUg1KQe9sqb4SpQqAVYksyC0e0WKgDlVcM1pCUYm7VS0CitgyAszF4a o7vG+QBxR0hbHhkpQW7rb8kErUVq2BrjcNH55RCRa76lqZtmCr6CClopD6aFP0mjjRO9 1H2LdEYJDTQx/74logynhCuyQ6I0yNqGE5yyA9VSthf0ZZTpcujUm13iTZEPnG2wH90e Ka4oxYIA09P6BS+Pto1X22MIiYoH6ghRu3YTA+tmOfNUyGWDui7b+SCq4xnwg1VdPN/G fMQQ== 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=kLUb/zEXCayMSnbFEIam82Wvjiz9C/QS2tQeLdEtrc0=; b=XPARHmMd+sbKaHhsKBB17A5hfRkUaO66FT4UfhpYeHXEhvwxcxeyTE+HTWQ8KDluAZ vlnvVBCGEAkCNBWOIBSQdqopX3QHjjl1l2NfKCprFS79PKmzlUNLgvlknwpNgLDKdjF4 FtggY8YngxuPRPfy8S5f4cy8XRaDxnZa05kM7TSRMJ0dtZuAZy8OyH3Nz8/GbuJee+1Q uBk8duS/gC11GWhxAeYf3kicH0RcpGiJd6JNZKKp56Yq6xX+qh1ZP4Q9GpogpUgZxbkV FIL2940HSsTvBUOmaOa4oq8rybF+cX0bYleshznDpLQ9BTw1MNVf128bzB/LmSpcg/iM kWzA== X-Gm-Message-State: AOAM530UAMVKqngh8qOSttRAqjT8SjMDeJ/moURg45WqpW2v21wrnuMM hHkWpkPD4u87l059iDC6eewML3CQvnYO+nbKTS4= X-Google-Smtp-Source: ABdhPJy0AJiyrgDIVOnhYv+g8BSORx48IdlEV7Gr+AHP2tUS3/eKOZOqQ0zgQX/IzRFHwHmihtNGe5fxMnYP/ZTcSTY= X-Received: by 2002:a67:27c3:: with SMTP id n186mr19509931vsn.53.1591139359437; Tue, 02 Jun 2020 16:09:19 -0700 (PDT) MIME-Version: 1.0 References: <202006021759.052Hx5Et022619@freefriends.org> <515ABF82-79D4-4DB8-90F1-4DDD512C7706@serissa.com> <202006022203.052M3wpa167150@darkstar.fourwinds.com> In-Reply-To: From: Rob Pike Date: Wed, 3 Jun 2020 09:09:08 +1000 Message-ID: To: Jon Steinhart Content-Type: multipart/alternative; boundary="0000000000004eb79205a7220088" Subject: Re: [TUHS] non-blocking IO - threads 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" --0000000000004eb79205a7220088 Content-Type: text/plain; charset="UTF-8" To be more forthcoming, there was a long period when the received wisdom was that threads were unmanageable. But that was a category error: The programming model in POSIX and others was what made it hard. The fundamental concepts are a tiny step harder than trivial, and it was not hard to build a programming model that matched them. The first mistake people made was to split "thread" from "process". What those words mean today is not what they meant a generation ago. For me, it's like the mess sockets made of networking. Our programming models could be so much simpler than what we are required to deal with. -rob --0000000000004eb79205a7220088 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To be more forthcoming, there was a long period when the r= eceived wisdom was that threads were unmanageable. But that was a category = error: The programming model in POSIX and others was what made it hard. The= fundamental concepts are a tiny step harder than trivial, and it was not h= ard to build a programming model that matched them.

The = first mistake people made was to split "thread" from "proces= s". What those words mean today is not what they meant a generation ag= o.

For me, it's like the mess sockets made of = networking. Our programming models could be so much simpler than what we ar= e required to deal with.

-rob


--0000000000004eb79205a7220088--