Re: It's not Rust, it's FreeBSD (and LLVM)

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 03 Sep 2024 18:10:33 UTC
On Tue, Sep 3, 2024 at 9:32 AM Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

> As part of the migration, we yank LLVM out of the src.
>


> "pkg upgrade" also upgrade kernel and userland packages - Welcome to
> the century of the fruitbat.
>


> And yes, we have ports written in Rust, why do you ask?
>

pkgbase is the path forward. It is the future. We are better off putting
all our
horses behind that effort so we can make it the default install in 15.0.

Once we have that, this whole debate becomes moot, for the most part.
Userland in rust can compete with userland in C. And with go, python, etc
for whatever does the job the best. If rust is so much better, then people
will use it, otherwise they will use the C version.

It doesn't become moot for the kernel, but the kernel is much harder. The
crux of the issue
is that adding Rust bindings double our work to improve and evolve the
system: it has
to be done for C and for Rust and we have to make sure work done in one
doesn't break
the other. When you strip off the drama from the Linux dust-up over this,
that's one of
the fundamental issues that the Linux kernel developers are trying to get
answers to and
failing.

Warner