Live data from Hacker News

Ubuntu 26.10 completes transition to Rust-based coreutils

omgubuntu.co.uk

111–120 of 339 posts

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#111
post #107

Earlier quoted context omitted.

Yes, please. Linux distros is better with macos approach. And making appimage first class makes a lot of sense.

I'll avoid it at this point anyway. The Rust coreutils is another reason for that. Snap, monetizing updates, telemetry, enough is enough.

Yup. After almost 20 years, I have had enough of their crap. All of my new machines are getting Debian. Can’t wait until I am free of Ubuntu.

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#112
post #17

I really don't understand why Canonical rushes this. If 'rm' can't remove all possible directory entries, that is a big issue: $ podman run --rm -it ubuntu:26.10 $ apt update -y; apt upgrade -y $ rm --version rm (uutils coreutils) 0.10.0 $ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n') $ rm -rf a Segmentation fault (core dumped) rm -rf a $ ls a a $ gnurm -rf a $ ls a ls: cannot access 'a': No such file o…

Let them first fix Snap.

There is no reason for anyone on any distro to use snap.

It will die so just leave it alone.

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#114
post #39

Was there something wrong with how they are currently written or do they just want the badge that says they converted to Rust?

Neither. They basically see Rust as the future. They want to be able to attract young contributors and to hire young employees who are excited about Rust and who want the safety features. Bear in mind, the average age of the Linux developer is increasing. They also see technical benefits in Rust. And they are increasing test coverage of both the Rust tools and the tools written in C, IIRC.

My source is this interview with the VP of Engineering at Canonical on this topic: https://corrode.dev/podcast/s05e05-canonical/

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#115

I really don't understand why Canonical rushes this. If 'rm' can't remove all possible directory entries, that is a big issue: $ podman run --rm -it ubuntu:26.10 $ apt update -y; apt upgrade -y $ rm --version rm (uutils coreutils) 0.10.0 $ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n') $ rm -rf a Segmentation fault (core dumped) rm -rf a $ ls a a $ gnurm -rf a $ ls a ls: cannot access 'a': No such file o…

Wow! Memory safety and such... Reminds me when a friend of mine wrote in IRC long time ago: "Hmm, tail just segfaulted." When I asked "Are you on Hurd?" he just replied "Yes."

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#116
post #65

Earlier quoted context omitted.

yeah, this is a bug. And yes, it should be fixed. But I don't think it will affect many users, I mean who has a 32000 -evels deep directory on their system?

What programmer or programming language can't iterate a loop more than 32000 times?!

Rust ? Because of ... memory safety. /s

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#117
post #101

Hmm, this doesn’t make sense. You simply don’t replace utilities with many decades of maturity and that “just work” with something that is not as mature. It will open all users of the distro to all sorts of subtle and not so subtle bugs. I for one don’t want to find myself staring at a mysterious segfault when I want to build the latest version of nodejs or flash a microcontroller. It’s such a pity; I have used Ubunt…

then install the other tool. no one is holding a gun to your head. it isn't windows.

Like how one can easily not use snap on Ubuntu? /s

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#119

Earlier quoted context omitted.

They need to kill snap ...

Yes, please. Linux distros is better with macos approach. And making appimage first class makes a lot of sense.

Appimages are bloated and unreliable. You can't guarantee that your app will run on any machine because it might depend on different system libraries.

Flatpak uses shared stable runtimes that are the same everywhere and don't take up space more than once. It also comes with a native update system and sandboxing. Snap is the same thing but worse.

Re: Ubuntu 26.10 completes transition to Rust-based coreutils

#120
post #70
post #65

Earlier quoted context omitted.

What programmer or programming language can't iterate a loop more than 32000 times?!

When triaging an issue you have to prioritise. Do you fix a problem that affects 2-3 people or one that may affect thousands?

The point is that such bugs shouldn't exist in the first place.

Using recursion on unbounded inputs on a programming language that doesn't support that (which are most) is an extremely classical mistake that really should be known to all programmers, especially those of low level languages that care about safety.

Every time you call something recursively you should be thinking "how deep is this?".

Post reply on HN