Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 14:04:20 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Warner Losh <imp@bsdimp.com>, Kristof Provost <kp@freebsd.org>,  George Mitchell <george+freebsd@m5p.com>, freebsd-hackers@freebsd.org
Subject:   Re: The Case for Rust (in the base system)
Message-ID:  <CAOtMX2jvdzB4o%2BsjJ6CDk4tYngp15djZ3_hK99jn_JFnNJreNw@mail.gmail.com>
In-Reply-To: <202401212013.40LKD1a7095506@critter.freebsd.dk>
References:  <CAOtMX2hAUiWdGPtpaCJLPZB%2Bj2yzNw5DSjUmkwTi%2B%2BmyemehCA@mail.gmail.com> <1673801705774097@mail.yandex.ru> <CANCZdfpqWgvV_RCvVO_pvTrmajQFspW%2BQ9TM_Ok3JrXZAfeAfA@mail.gmail.com> <ef4ad207-5899-42b6-8728-bc46f1417e9e@antonovs.family> <202401210751.40L7pWEF011188@critter.freebsd.dk> <40bc1694-ee00-431b-866e-396e9d5c07a2@m5p.com> <CAOtMX2hppfdu5ypDdGpfw_QDcd1rwJEeyVfSk9ogFEm7CiV6Kw@mail.gmail.com> <202401211626.40LGQDim013134@critter.freebsd.dk> <4EF67303-A995-457A-990F-A4972C23EA80@FreeBSD.org> <CANCZdfo_MU4yo_4dvvTB%2BQf3JFT6EVEYZ4cmFHa%2BEJEjs_1crA@mail.gmail.com> <202401212013.40LKD1a7095506@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 21, 2024 at 1:13=E2=80=AFPM Poul-Henning Kamp <phk@phk.freebsd.=
dk> wrote:
>
> --------
> Warner Losh writes:
>
> > Even if all the cool kids are doing it, it doesn't mean the cool kids a=
re
> > wrong. We should not reject the hypothesis on that basis alone.
>
> I certainly didn't mean to imply that, my point about cvsup was precisely
> that the proof of the pudding is in the eating.
>
> The only comment I want to add, is that the test-cases should be
> expressed such that, if/when we find out Rust wasn't God's gift to
> programmers, we can reimplement the tool which interprets them in
> some hot-language-du-jour, without having to rewrite all the actual
> test-cases.

I think imp and phk are after different things.  phk wants a tool
written in Rust that be installed from ports and interpret test cases
defined in src.  That's similar to the fsx tests, which I'm planning
to add to src once the package builder catches up.  But imp wants test
cases that are actually written in Rust and which live in src, to test
his external toolchain proposal.  That's very different.  It's an
unusual requirement.  Off hand I can't think of many subsystems that
are a good match for a test suite like that.  ypclnt(3) might be one.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jvdzB4o%2BsjJ6CDk4tYngp15djZ3_hK99jn_JFnNJreNw>