From nobody Mon Aug 5 21:01:49 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 4Wd8Tm6CgGz5SjkG for ; Mon, 05 Aug 2024 21:19:56 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wd8Tm3G3Jz3yjD for ; Mon, 5 Aug 2024 21:19:56 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=citron; t=1722892787; x=1723559453; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:openpgp:blahblahblah:author:from: subject:date:to:cc:resent-author:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-reply-to:resent-message-id:in-reply-to: references:mime-version:content-type:content-transfer-encoding: content-disposition:content-id:content-description:message-id: mail-followup-to:openpgp:blahblahblah; bh=Hf9X79iLqC0BWGkfIo4MWUnJM+b1EDPu4gAbpChxFJY=; b=m91wg/40Zoeloi9t4fJ+0jImqadRi0slYYGqTYTbOEgqEpWlYe0WmUO63QiddQcXmZNpnHML UyZTMffbeQXiDc4e1amgRcxKwdsIjgTWo34C14mjyu1r4zbuveRg/pPQYuobncqFWGohn27SOj o6xwVkCGtZh3bhhIZKasdgbYAcd8RTMLs8LJ7mfCVjH9ahTnp/tGkcLWkTwoRyqt+dzXT4g0PV /BgZlgxqek0Hf3CDtP8N+6tlTINMJZErTTOw3eiOOmdKtCRRyD4iR9meWuRABJzH5/120Lal/L QoMmz8Jh9udPOqChmJ0q0jgobLxqK2JwonqHasL8dt6kX87g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=orange; t=1722892787; x=1723559453; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:openpgp:blahblahblah:author:from: subject:date:to:cc:resent-author:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-reply-to:resent-message-id:in-reply-to: references:mime-version:content-type:content-transfer-encoding: content-disposition:content-id:content-description:message-id: mail-followup-to:openpgp:blahblahblah; bh=Hf9X79iLqC0BWGkfIo4MWUnJM+b1EDPu4gAbpChxFJY=; b=VdFe92Bs1NzglIuTDiwVa2nt8EEAnV6Xt8yKEhEB1eaKu3lOGpPcj9BbZ3Pzw17ZeWxwNW2s JOgkXfcG9hUiAg== Date: Mon, 05 Aug 2024 23:01:49 +0200 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: Cy Schubert Cc: freebsd-hackers@freebsd.org, Bakul Shah Subject: Re: The Case for Rust (in the base system) Message-ID: <20240805210149.nrkHN3j3@steffen%sdaoden.eu> In-Reply-To: <704D020F-78A4-4926-AE3C-41F7FD619A89@cschubert.com> References: <704D020F-78A4-4926-AE3C-41F7FD619A89@cschubert.com> User-Agent: s-nail v14.9.24-621-g0d1e55f367 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE] X-Rspamd-Queue-Id: 4Wd8Tm3G3Jz3yjD 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 Cy Schubert wrote in <704D020F-78A4-4926-AE3C-41F7FD619A89@cschubert.com>: |On July 31, 2024 10:49:52 AM PDT, Bakul Shah wrote: |>All this talk won't lead to anything much so a suggestion to .. |Sorry for being late to the party. Last day of vacation; picking up \ |phone reading this thread. | |Like much in this business (been doing this stuff for about 50 years \ |now) there is a cohort unwilling to roll up their sleeves and put some \ |skin in the game, expecting others already with long todo lists to \ Most user space tools could be written in lua. This already is in base, it is memory safe, it is very small and pretty fast, allows easy C integration for cases most FreeBSD system tools never need. It can be learned pretty easily, and it is very productive. It also has the coolness factor of Unix, for example echo '#!/usr/bin/lua' > /bin/true chmod 0755 /bin/true cp /bin/true /bin/false echo 'os.exit(1)' >> /bin/false implements two basic system tools in lua. (They are portable!) One could also imagine that a basic FreeBSD lua library, one that makes access to ioctls, sysctls and basic C constants easy, would benefit FreeBSD, as it seems a not small number of projects / companies use lua for certain parts of "their thing", like user interfaces or whatever. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | | Only during dog days: | On the 81st anniversary of the Goebbel's Sportpalast speech | von der Leyen gave an overlong hypocritical inauguration one. | The brew's essence of our civilizing advancement seems o be: | Total war - shortest war -> Permanent war - everlasting war