The Case for Rust in the base system
151–155 of 155 posts
Re: The Case for Rust in the base system
#152Earlier quoted context omitted.
The OP has since elaborated: > I don't think anybody has claimed this yet. But I _have_ made a similar claim, that some things can't be written in C. I'll elaborate on the project that started this thread: the fusefs test suite. When I designed the fusefs test suite, I based it around the priniciple of Mocking. Each test case has a client thread that does normal file system access, and a server thread that implements…
Mocking is a horrible principle. It is probably the worst of the various types of test doubles, in terms of the kind of test design they imply. Software engineering would be significantly better off, IMO, if mocking were so awkward that no one bothers to do it, ever, in any language.
Re: The Case for Rust in the base system
#153Earlier quoted context omitted.
Yeah, but Rust tier 1 is only x86, x86_64, and arm64. And only Linux. That excludes MIPS, PPC, and arm32, all of which FreeBSD continues to support to varying degrees. x86_64-FreeBSD is a Rust tier 2 "it might work" target, as are arm6/7 and PPC. MIPS is Rust tier 3 "we don't build for it or test on it."
Surely that's not set in stone right? Like FreeBSD could contribute money & resources to hook up CI machines to make it a tier 1 target?
Re: The Case for Rust in the base system
#154Earlier quoted context omitted.
Yeah, but Rust tier 1 is only x86, x86_64, and arm64. And only Linux. That excludes MIPS, PPC, and arm32, all of which FreeBSD continues to support to varying degrees. x86_64-FreeBSD is a Rust tier 2 "it might work" target, as are arm6/7 and PPC. MIPS is Rust tier 3 "we don't build for it or test on it."
My understanding of the tiers of support is based on the level of commitment from the community. That is, if the FreeBSD folks wanted to make it a Tier 1 target, they can, “If running the testsuite requires additional infrastructure (such as physical systems running the target), the target maintainers must arrange to provide such resources to the Rust project, to the satisfaction and approval of the Rust infrastructu…
Re: The Case for Rust in the base system
#155Archive Link: http://web.archive.org/web/20240121220432/https://mail-archi... Just in case anybody else can not see the post. I have no idea if the post is hidden, deleted, or if the server is overloaded.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276716>