Re: Rust: kernel vs user-space

From: Bob Bishop <rb_at_gid.co.uk>
Date: Wed, 04 Sep 2024 15:21:24 UTC
Hi,

> On 4 Sep 2024, at 15:37, Stefan Esser <se@FreeBSD.org> wrote:
> 
> Am 04.09.24 um 11:52 schrieb Mark Delany:
>> On 04Sep24, David Chisnall apparently wrote:
>>> There are lots of control-plane things that I'd love to see
>>> written mostly in Lua,
>> It was remiss of me to not mention Lua given that it's already in the project.
>> Yet another language which could make life easier, more productive and more accessible in
>> user-land.
>> I'm not suggesting for an instant that any of these programs need rewriting, but one could
>> imagine that if commands like ifconfig, route, arp, ndp, ipfw (that is, programs which
>> take a lot of user input and do a lot of data manipulation but aren't super-critical on
>> the performance front) were written in a more accessible language, then it might attract
>> new developers without disenfranchising the core C developers.
> 
> Here is ldconfig in LUA, written more than 2 years ago, for example:
> 
> https://github.com/stesser/ldconfig/blob/main/ldconfig.lua

And this is better than C because ...?

(Asking for a friend :-)

--
Bob Bishop
rb@gid.co.uk