Date: Thu, 12 Sep 2024 14:32:24 -0600 From: Alan Somers <asomers@freebsd.org> To: Steffen Nurpmeso <steffen@sdaoden.eu> Cc: "B. E." <estrabd@gmail.com>, Aryeh Friedman <aryeh.friedman@gmail.com>, FreeBSD Mailing List <freebsd-hackers@freebsd.org> Subject: Re: Some rather stupid questions about Rust and FreeBSD Message-ID: <CAOtMX2jq%2BTBQ5A-uwaMrO2riz_HWVBMbWc=h7jDKSUi3g4JCtA@mail.gmail.com> In-Reply-To: <20240912195828.rFGdCML6@steffen%sdaoden.eu> References: <CAGBxaXmeLQudhP428wCSEsGh0%2BbpiM8=To4HbohdwsGcsE5Qbg@mail.gmail.com> <CAOtMX2g0xcaDvXQLzntDs1cvzVx_wnTPTw7%2B1GV2KtS=AytOgg@mail.gmail.com> <CAGBxaXmRksYTnJyy9a88Jvt_uqZu%2BJDkOwNO=D60%2BfVqH%2BbBYw@mail.gmail.com> <CALSf6fTGj_8f6gHN=Hz8hg0a9LZPWNsSJAr3E-jFY_yt0mHyig@mail.gmail.com> <CAOtMX2iMhHyr_-Npt7wTgF_qLoK09NUD8wz6CB4nxwcYaY81WQ@mail.gmail.com> <20240912194859.8xZAdMX3@steffen%sdaoden.eu> <20240912195828.rFGdCML6@steffen%sdaoden.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 12, 2024 at 1:58=E2=80=AFPM Steffen Nurpmeso <steffen@sdaoden.e= u> wrote: > > Steffen Nurpmeso wrote in > <20240912194859.8xZAdMX3@steffen%sdaoden.eu>: > ... > ||* I considered writing the fusefs test suite in Rust. It would've > ||been well-suited. But I was forced to do it in C++ instead. > > Btw i have forgotten to give you sympathy for this. > > But i am wondering in general, the OpenBSD guys (no girls at all > i think, except a plus HTML generator that is now also gone > i think) seem to allow "external" toolchains for at least tests. > I am pretty confident i have often seen a network stack guy > (German i think) to use Python for network tests. > Wouldn't this be an option for FreeBSD, to allow at least certain > parts of the unit tests to be written in freely chosen languages? Actually, that's already the case. FreeBSD already has quite a few test programs written in Python. That's not a problem, because Python is an interpreted language. We install the .py files directly to /usr/tests. A Python interpreter is required to execute the tests, but not to build them. That's not true of a compiled language like Rust. -Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jq%2BTBQ5A-uwaMrO2riz_HWVBMbWc=h7jDKSUi3g4JCtA>