From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id 545B92178A for ; Mon, 13 May 2024 01:35:03 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id E24E243658; Mon, 13 May 2024 09:34:58 +1000 (AEST) Received: from mcvoy.com (mcvoy.com [192.169.23.250]) by minnie.tuhs.org (Postfix) with ESMTPS id 4458243344 for ; Mon, 13 May 2024 09:34:55 +1000 (AEST) Received: by mcvoy.com (Postfix, from userid 3546) id B061235E4CE; Sun, 12 May 2024 16:34:54 -0700 (PDT) Date: Sun, 12 May 2024 16:34:54 -0700 From: Larry McVoy To: Dan Cross Message-ID: <20240512233454.GM9216@mcvoy.com> References: <20240512194707.GL9216@mcvoy.com> <20240512201349.0DB6A8A9D055@ary.qy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Message-ID-Hash: G7TKIOMUJTN2ZM34AKDDTSBETFFEBUVK X-Message-ID-Hash: G7TKIOMUJTN2ZM34AKDDTSBETFFEBUVK X-MailFrom: lm@mcvoy.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: John Levine , tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: forking, Re: [COFF] Re: On Bloat and the Idea of Small Specialized Tools List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sun, May 12, 2024 at 06:56:35PM -0400, Dan Cross wrote: > Similarly, this gives you the functionality of spawn, without the > downside of a singularly complicated interface. Could you have > implemented that in something as small as the PDP-7? Perhaps not, but > it does not follow that `fork` now remains a good primitive. Our spawnvp() implmentation is 40 lines of code. Worked fine everywhere. I can post it if you like.