Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2024 16:33:24 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Steffen Nurpmeso <steffen@sdaoden.eu>,  Cy Schubert <Cy.Schubert@cschubert.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>,  Bakul Shah <bakul@iitbombay.org>
Subject:   Re: The Case for Rust (in the base system)
Message-ID:  <CANCZdfptdHfoVc9WrayuMw4P4LEusKYrup-PvvVOp7bZ7ZSWCg@mail.gmail.com>
In-Reply-To: <20240806072906.bc206fa9b77ffc949317bd19@dec.sakura.ne.jp>
References:  <CAOtMX2hAUiWdGPtpaCJLPZB%2Bj2yzNw5DSjUmkwTi%2B%2BmyemehCA@mail.gmail.com> <vdmg5zocd6wqcwc2bvzvzqn4bii2pwdc2r4mgnisukfkboj6nf@f7lv5quu4fjx> <CAOtMX2iDK3uN_oQgzzZAdoOZCfNsnvpefeZvKoTCRmPBhZywzA@mail.gmail.com> <CANCZdfqB1%2B-8BkpKwKoCM%2BzM4mCOFy63yHr1Pco7MnT1DFkb4w@mail.gmail.com> <EF084C36-D2EA-4194-B30F-253B0E8D5B4D@iitbombay.org> <704D020F-78A4-4926-AE3C-41F7FD619A89@cschubert.com> <20240805210149.nrkHN3j3@steffen%sdaoden.eu> <202408052127.475LROnE067608@critter.freebsd.dk> <CANCZdfrh-74M0L-Z%2BOOnqSD6xO3PyaUXWc8LPWxtRbsWawu4qA@mail.gmail.com> <20240806072906.bc206fa9b77ffc949317bd19@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000943e6e061ef744f9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 5, 2024, 4:29=E2=80=AFPM Tomoaki AOKI <junchoon@dec.sakura.ne.j=
p> wrote:

> On Mon, 5 Aug 2024 15:32:17 -0600
> Warner Losh <imp@bsdimp.com> wrote:
>
> > On Mon, Aug 5, 2024 at 3:27=E2=80=AFPM Poul-Henning Kamp <phk@phk.freeb=
sd.dk>
> wrote:
> >
> > > --------
> > > Steffen Nurpmeso writes:
> > > > Cy Schubert wrote in
> > > >  <704D020F-78A4-4926-AE3C-41F7FD619A89@cschubert.com>:
> > > >  |On July 31, 2024 10:49:52 AM PDT, Bakul Shah <bakul@iitbombay.org=
>
> > > wrote:
> > > >  |>All this talk won't lead to anything much so a suggestion to
> > > >  ..
> > > >  |Sorry for being late to the party. Last day of vacation; picking
> up \
> > > >  |phone reading this thread.
> > > >  |
> > > >  |Like much in this business (been doing this stuff for about 50
> years \
> > > >  |now) there is a cohort unwilling to roll up their sleeves and put
> some
> > > \
> > > >  |skin in the game, expecting others already with long todo lists t=
o
> \
> > > >
> > > > Most user space tools could be written in lua.
> > >
> > > That /exact/ same argument was made for Perl :-)
> > >
> >
> > Lua's been in the base since I imported it for the boot loader, though.=
..
> >
> > Warner
>
> And Forth was introduced for loader prior to lua and still not
> deleted. :-)
> I think it would be removed sometime in the future once no one
> complains about loader.lua.
>

The only remaining legitimate complaint I've heard against lua loader is
its size in BIOS land. It's about 50ish k too big still there when bearssl
and veriexec are on given lua's stack usage.

But we never wrote other system utils in forth (bearssl parsing
notwithstanding) nor had a critical mass of people wanting to do that.

Warner

--=20
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>

--000000000000943e6e061ef744f9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Aug 5, 2024, 4:29=E2=80=AFPM Tomoaki AOKI &lt;=
<a href=3D"mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>&=
gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 5 Aug 2024 15:32=
:17 -0600<br>
Warner Losh &lt;<a href=3D"mailto:imp@bsdimp.com" target=3D"_blank" rel=3D"=
noreferrer">imp@bsdimp.com</a>&gt; wrote:<br>
<br>
&gt; On Mon, Aug 5, 2024 at 3:27=E2=80=AFPM Poul-Henning Kamp &lt;<a href=
=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank" rel=3D"noreferrer">phk@phk=
.freebsd.dk</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; --------<br>
&gt; &gt; Steffen Nurpmeso writes:<br>
&gt; &gt; &gt; Cy Schubert wrote in<br>
&gt; &gt; &gt;=C2=A0 &lt;<a href=3D"mailto:704D020F-78A4-4926-AE3C-41F7FD61=
9A89@cschubert.com" target=3D"_blank" rel=3D"noreferrer">704D020F-78A4-4926=
-AE3C-41F7FD619A89@cschubert.com</a>&gt;:<br>
&gt; &gt; &gt;=C2=A0 |On July 31, 2024 10:49:52 AM PDT, Bakul Shah &lt;<a h=
ref=3D"mailto:bakul@iitbombay.org" target=3D"_blank" rel=3D"noreferrer">bak=
ul@iitbombay.org</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;=C2=A0 |&gt;All this talk won&#39;t lead to anything much so =
a suggestion to<br>
&gt; &gt; &gt;=C2=A0 ..<br>
&gt; &gt; &gt;=C2=A0 |Sorry for being late to the party. Last day of vacati=
on; picking up \<br>
&gt; &gt; &gt;=C2=A0 |phone reading this thread.<br>
&gt; &gt; &gt;=C2=A0 |<br>
&gt; &gt; &gt;=C2=A0 |Like much in this business (been doing this stuff for=
 about 50 years \<br>
&gt; &gt; &gt;=C2=A0 |now) there is a cohort unwilling to roll up their sle=
eves and put some<br>
&gt; &gt; \<br>
&gt; &gt; &gt;=C2=A0 |skin in the game, expecting others already with long =
todo lists to \<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Most user space tools could be written in lua.<br>
&gt; &gt;<br>
&gt; &gt; That /exact/ same argument was made for Perl :-)<br>
&gt; &gt;<br>
&gt; <br>
&gt; Lua&#39;s been in the base since I imported it for the boot loader, th=
ough...<br>
&gt; <br>
&gt; Warner<br>
<br>
And Forth was introduced for loader prior to lua and still not<br>
deleted. :-)<br>
I think it would be removed sometime in the future once no one<br>
complains about loader.lua.<br></blockquote></div></div><div dir=3D"auto"><=
br></div><div dir=3D"auto">The only remaining legitimate complaint I&#39;ve=
 heard against lua loader is its size in BIOS land. It&#39;s about 50ish k =
too big still there when bearssl and veriexec are on given lua&#39;s stack =
usage.</div><div dir=3D"auto"><br></div><div dir=3D"auto">But we never wrot=
e other system utils in forth (bearssl parsing notwithstanding) nor had a c=
ritical mass of people wanting to do that.=C2=A0</div><div dir=3D"auto"><br=
></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><br></div><div dir=
=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Tomoaki AOKI=C2=A0 =C2=A0 &lt;<a href=3D"mailto:junchoon@dec.sakura.ne.jp" =
target=3D"_blank" rel=3D"noreferrer">junchoon@dec.sakura.ne.jp</a>&gt;<br>
</blockquote></div></div></div>

--000000000000943e6e061ef744f9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfptdHfoVc9WrayuMw4P4LEusKYrup-PvvVOp7bZ7ZSWCg>