[flagged]
Rewriting essential Linux packages in Rust
11–20 of 175 posts
Re: Rewriting essential Linux packages in Rust
#12Re: Rewriting essential Linux packages in Rust
#13The amount of complexity, even with pretty high-level Rust std, is still super high. So rewriting them in Rust is no small feat.
For the file-system management ones: I appreciate the value of everyone knowing these tools, but they do have some terrible defaults, and I wish there was an alternative between using a GUI/TUI file manager and carefully not stabbing myself in the foot. That's why I started building human-utils (alas it's very much unfinished).
Re: Rewriting essential Linux packages in Rust
#14Mostly, I am tired of tools requiring root access, or a block device, to function, even in read only mode.
If you have a file on disk (eg: a VM's disk) mdadm will refuse to show metadata, requiring root to do so.
Re: Rewriting essential Linux packages in Rust
#15Is Rust (llvm?) supported on all platforms Linux targets?
What relevance does that have tho?
Re: Rewriting essential Linux packages in Rust
#16Re: Rewriting essential Linux packages in Rust
#17left-pad II, coming soon to a Linux distro near you
Re: Rewriting essential Linux packages in Rust
#18Earlier quoted context omitted.
If the original thing is improved by being written in Rust as everyone proclaims, then this would be a good thing. However, I have doubts that the years upon years of updates fixing odd behavior, and then forgotten about the whys&hows of those updates that the same issues will not be introduced in the Rust version.
> and then forgotten about the whys&hows of those updates that the same issues will not be introduced in the Rust version. Ideally that's what test suites are for, although I'm sure some deviations/gaps will be caught by users. For uutils they are preserving all the edge cases, replicating the original behaviour. There are benefits to rewrites (far less often in my experience), like doas replacing sudo in BSD distros…
Re: Rewriting essential Linux packages in Rust
#19> " There are between 200 and 300 dependencies in the uutils project. He said that he understood there is always a supply-chain-attack risk, "but that's a risk we are willing to take". There is more and more tooling around to help mitigate the risk, he said. left-pad II, coming soon to a Linux distro near you
Re: Rewriting essential Linux packages in Rust
#20It's a fun pasttime. I'm rewriting mdadm in rust: https://github.com/DavidVentura/mdadm-rs Mostly, I am tired of tools requiring root access, or a block device, to function, even in read only mode. If you have a file on disk (eg: a VM's disk) mdadm will refuse to show metadata, requiring root to do so.
If that's an artificial limitation, surely it should be easy to fix?