Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Posted Mar 1, 2021 22:13 UTC (Mon) by pizza (subscriber, #46)In reply to: Woodruff: Weird architectures weren't supported to begin with by rodgerd
Parent article: Woodruff: Weird architectures weren't supported to begin with
Uh.... can't the same be said for pretty much every other architecture? (Or indeed, for anything other than the specific system that the upstream CI system used to run their tests, if any?)
Posted Mar 1, 2021 22:22 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
*Especially* in a project full of C and C++ code that does low-level file I/O (especially binary), hardware interaction, or anything like that, anything not tested regularly is not trustworthy to the level people would like or even probably think it is.
Posted Mar 7, 2021 13:50 UTC (Sun)
by nix (subscriber, #2304)
[Link] (2 responses)
Um... aarch64 boxes literally cost a few quid at this point, now that a lot of the SBCs are aarch64. Surely it's easy to get a way of testing things there?
Posted Mar 7, 2021 15:25 UTC (Sun)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Posted Mar 15, 2021 14:52 UTC (Mon)
by nix (subscriber, #2304)
[Link]
Posted Mar 1, 2021 22:35 UTC (Mon)
by roc (subscriber, #30627)
[Link] (2 responses)
Posted Mar 1, 2021 23:15 UTC (Mon)
by pizza (subscriber, #46)
[Link] (1 responses)
In other words, deviate from that very-under-specified platform definition and you'll end up in a position where Rust "just compiles, maybe runs semi-reliably, and certainly has no particular guarantee that it actually runs as intended."
Given that most Linux users get their Rust toolchain from their distribution instead of upstream, they're all in the "no particular guarantee" territory since the distro build hosts are not configured identically to the upstream rust CI systems.
Mind you, that's not a bad thing in of itself, and it affects pretty much all distributed-as-source software [1] There's no particular guarantee that it worked on anything other than the original developer's system. Heck, even that's not guaranteed, if one reads the actual license text.
If upstream supplies a test suite then that can be used to build confidence that the software will "run as intended" on relatively random systems, but otherwise, caveat emptor.
[1] Granted, Rust is unusual in that it actually does need to know about the underlying CPU architecture and operating system/syscall interface..
Posted Mar 1, 2021 23:45 UTC (Mon)
by pizza (subscriber, #46)
[Link]
This is the same situation where most F/OSS projects arguably fall; the authors only "guarantee" it works on the platforms they use for development, with some sort of test suite that is used to build confidence that can be expected to work on a relatively random system that still meets the minimum requirements.
But that doesn't somehow make compiling and using this software on relatively obsolete platforms "security theater".
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
Woodruff: Weird architectures weren't supported to begin with
