From nobody Sun Aug 04 11:41:04 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcHhc0vjsz5S9ql for ; Sun, 04 Aug 2024 11:41:20 +0000 (UTC) (envelope-from x9k@charlie.emu.st) Received: from f3.bushwire.net (f3.emu.st [IPv6:2403:580c:e522:0:203:0:120:11]) by mx1.freebsd.org (Postfix) with ESMTP id 4WcHhX5JKnz4MBm for ; Sun, 4 Aug 2024 11:41:15 +0000 (UTC) (envelope-from x9k@charlie.emu.st) Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=emu.st header.s=2019 header.b=KrTT1Thx; dmarc=none; spf=pass (mx1.freebsd.org: domain of x9k@charlie.emu.st designates 2403:580c:e522:0:203:0:120:11 as permitted sender) smtp.mailfrom=x9k@charlie.emu.st Received: by f3.bushwire.net (Postfix, from userid 1001) id 135D64E79F; Sun, 04 Aug 2024 21:41:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=emu.st; s=2019; t=1722771664; bh=rADXJ4PTeRVr2RTqg8O15358MY8=; h=Comments:Received:From:Comments:Message-ID:Content-Type:Subject: References:Mime-Version:Content-Disposition:Date:To:In-Reply-To; b=KrTT1ThxF2Fv8xRMeXqmsua4E5K9MgAmohwAZP7wUi2SdfyoRuriVNSDJlAxj960G /LZFfSka7HHb/XcSGYbc8tjaRlCEAx/S+nrF5bmEm6Ozi5ijExbA/tQH7ffg3jpThr rm+QC206OBMnGBGSiYShJ71FmlwAkfPpBnzbXLRI=bXLRI= Comments: QMDA 0.3a Received: (qmail 14034 invoked by uid 1001); 4 Aug 2024 11:41:04 -0000 From: "Mark Delany" Comments: QMDASubmit submit() 0.2.0-final Message-ID: <0.2.0-final-1722771664.023-0x79f107@qmda.emu.st> Content-Type: text/plain; charset=utf-8 Subject: Re: The Case for Rust (in the base system) References: <202408041009.474A9ZXW048024@critter.freebsd.dk> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org Mime-Version: 1.0 Content-Disposition: inline Date: Sun, 4 Aug 2024 11:41:04 +0000 To: FreeBSD Hackers In-Reply-To: <202408041009.474A9ZXW048024@critter.freebsd.dk> X-Spamd-Bar: / X-Spamd-Result: default: False [-0.72 / 15.00]; R_DKIM_REJECT(1.00)[emu.st:s=2019]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.86)[-0.861]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.26)[-0.256]; R_SPF_ALLOW(-0.20)[+ip6:2403:580c:e522::0/48]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:4764, ipnet:2403:5800::/27, country:AU]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[emu.st]; DKIM_TRACE(0.00)[emu.st:-] X-Rspamd-Queue-Id: 4WcHhX5JKnz4MBm On 04Aug24, Poul-Henning Kamp apparently wrote: > is to work towards a pkg-based distribution of FreeBSD, where nobody One presumes that in this world, kernel modules would also be delivered as packages. After all, isn't half the argument for Rust that you can write safer kernel code with it? So the end-result is a micro-kernel that mostly loads packages from ecosystems. No reason why that can't work. (As an aside, I'm curious as to what ABI works best in this scenario. Maybe a JSON message passing micro-kernel?) Yes, I'm being a tad snarky, but the ecosystem vs language distinction raises the question as to whether Rust is the one-and-only ecosystem to support or whether it is merely one amongst many future equals? PHK may not have meant it, but if a step-function above C is presumed critical, then maybe an ecosystem model is not such a bad outcome. Mark.