Re: A Demo of rust-in-base
- Reply: Poul-Henning Kamp: "Re: A Demo of rust-in-base"
- In reply to: Poul-Henning Kamp: "Re: A Demo of rust-in-base"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 18:09:32 UTC
On Sun, Aug 4, 2024 at 12:00 PM Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > > -------- > Alan Somers writes: > > Due to all of the recent discussion of using Rust for code in the > > FreeBSD base, I've put together a demo of what it might look like. It > > demonstrates: > > Awesome! > > But to be blunt: Is it worth the effort, relative to concentrating > on a pkg-based distribution of FreeBSD, where these things could > be built with the regular "COTS" Rust ecosystem, without having to > do all this extra work and adding all this extra maintenance load ? If it weren't for my experience with CTL, I would say no. But CTL stuff _cannot_ exist in the ports tree, since the ioctl interface is unstable. Similarly, stuff like the fusefs test suite can't exist in the ports tree, either. It needs to be updated in lock-step with even minor kernel changes. If those are to use Rust, they need to reside in the same git repository as freebsd-src.