Date: Sat, 20 Jan 2024 11:08:27 -0700 From: Warner Losh <imp@bsdimp.com> To: Gleb Popov <arrowd@freebsd.org> Cc: Alan Somers <asomers@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Scott Long <scottl@freebsd.org>, "Goran Meki??" <meka@tilda.center> Subject: Re: The Case for Rust (in the base system) Message-ID: <CANCZdfp67mMcDZkNHYLK=1CM=WTu_hn8=u9w3KwttZsZfEqPVw@mail.gmail.com> In-Reply-To: <CALH631=v4aWhFNDjZcnmjPnzFyZGhg%2BPuRmShx8TFvF6hPbnJQ@mail.gmail.com> References: <CAOtMX2hAUiWdGPtpaCJLPZB%2Bj2yzNw5DSjUmkwTi%2B%2BmyemehCA@mail.gmail.com> <CALH631=v4aWhFNDjZcnmjPnzFyZGhg%2BPuRmShx8TFvF6hPbnJQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 20, 2024, 10:14 AM Gleb Popov <<a href="mailto:arrowd@freebsd.org">arrowd@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jan 20, 2024 at 7:51 PM Alan Somers <<a href="mailto:asomers@freebsd.org" target="_blank" rel="noreferrer">asomers@freebsd.org</a>> wrote:<br> > To<br> > summarize, the cost is that it would double our build times.<br> <br> Would it? From what I remember, a lot of rust's build time comes from<br> building its own LLVM. Can we reuse our base LLVM for Rust-in-base?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No. That's not possible in general. Rust needs its own special thing that is not well tested fit the non rust case.</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote></div></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp67mMcDZkNHYLK=1CM=WTu_hn8=u9w3KwttZsZfEqPVw>
