Re: The Case for Rust (in the base system)

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 20 Jan 2024 18:08:27 UTC
On Sat, Jan 20, 2024, 10:14 AM Gleb Popov <arrowd@freebsd.org> wrote:

> On Sat, Jan 20, 2024 at 7:51 PM Alan Somers <asomers@freebsd.org> wrote:
> > To
> > summarize, the cost is that it would double our build times.
>
> Would it? From what I remember, a lot of rust's build time comes from
> building its own LLVM. Can we reuse our base LLVM for Rust-in-base?
>

No. That's not possible in general.  Rust needs its own special thing that
is not well tested fit the non rust case.

Warner

>