Re: Some rather stupid questions about Rust and FreeBSD
- In reply to: Steffen Nurpmeso : "Re: Some rather stupid questions about Rust and FreeBSD"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Sep 2024 20:32:24 UTC
On Thu, Sep 12, 2024 at 1:58 PM Steffen Nurpmeso <steffen@sdaoden.eu> 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