From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 16509 invoked from network); 13 Apr 2020 03:01:02 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 13 Apr 2020 03:01:02 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 8EB5E9C746; Mon, 13 Apr 2020 13:00:59 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 94EF89C72D; Mon, 13 Apr 2020 13:00:34 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id BD96E9C72D; Mon, 13 Apr 2020 13:00:31 +1000 (AEST) X-Greylist: delayed 13517 seconds by postgrey-1.36 at minnie.tuhs.org; Mon, 13 Apr 2020 13:00:31 AEST Received: from MTA-12-3.privateemail.com (mta-12-3.privateemail.com [198.54.118.202]) by minnie.tuhs.org (Postfix) with ESMTPS id 6450B9C72C for ; Mon, 13 Apr 2020 13:00:31 +1000 (AEST) Received: from mta-12.privateemail.com (localhost [127.0.0.1]) by mta-12.privateemail.com (Postfix) with ESMTP id 34CBF8005E; Sun, 12 Apr 2020 23:00:30 -0400 (EDT) Received: from localhost (unknown [10.20.151.205]) by mta-12.privateemail.com (Postfix) with ESMTPA id 6EF7A8005D; Mon, 13 Apr 2020 03:00:29 +0000 (UTC) Date: Sun, 12 Apr 2020 20:00:20 -0700 From: Anthony Martin To: Rob Pike Message-ID: <20200413030020.GA67784@alice> References: <2DE6E671-7FD2-463A-B2E7-7951DBD15CA0@planet.nl> <20200412231503.GA48389@alice> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [TUHS] STREAMS performance 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 , Paul Ruizendaal Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Rob Pike once said: > It did? I think a version of streams showed up at some point, and were > replaced; of that you are correct. But it certainly didn't begin with > anything like streams. It began with a file system mux. I realize you would probably know better, but ... I didn't mean that streams was the first thing in Plan 9, just that the I/O system for pipes, network devices, etc. was descended from streams. That was the case at least as far back as 1990. Look at the early Plan 9 code for the pipe¹ and ethernet² devices, the code for Streams, Queues, and Blocks in port/stream.c³ and power/dat.h⁴, and tell me that doesn't descend from v8 streams. :) Also, thanks for Plan 9. It's lovely. Anthony 1. https://github.com/0intro/9hist/blob/13601b6f49db83aa369e382f5242927a46d2a433/port/devpipe.c 2. https://github.com/0intro/9hist/blob/13601b6f49db83aa369e382f5242927a46d2a433/port/devlance.c#L256 3. https://github.com/0intro/9hist/blob/13601b6f49db83aa369e382f5242927a46d2a433/port/stream.c 4. https://github.com/0intro/9hist/blob/13601b6f49db83aa369e382f5242927a46d2a433/power/dat.h#L338