News for hackers. Stuff that matters.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by kachapopopow on Sunday December 14, 2025 @02:11PM (#46265834)
I really don't understand the hate, it's not 1.0 and majority of unsupported cases probably haven't seen use since 1990's and especially dumb cases where it's 100x slower when providing unrealistic values like parsing e9000000 which is actually because it attempts to actually parse it due to bigint support instead of clamping to i128.

also people complaining about inclusion of it in ubuntu versions, wait till you find out about the linux kernel.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by groundzeros2015 on Sunday December 14, 2025 @03:27PM (#46266526)
> wait till you find out about the linux kernel

Check the extent to which this is true. Also are we rewriting good kernel code that works?

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by IshKebab on Sunday December 14, 2025 @03:58PM (#46266816)
> good kernel code that works

The fallacy here is that code is either "good code that works" or "bad code that needs to be rewritten". It doesn't work like that. "If it aint broke don't fix it" is actually terrible advice.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by burnt-resistor on Sunday December 14, 2025 @04:51PM (#46267363)
Yep, nuance is definitely needed. The greater issue is orthogonal: pushing out unfinished and incompatible code as production-usable rather code written in another language.

Rust, by itself, isn't a panacea to add formal verification but one leg on the footstool of formal verification methodologies to produce safe(r/ish) software rather than subtly buggy software that's difficult to prove correct and more expensive to maintain.

"If it aint broke don't fix it" =~= "I've never gotten into an accident until now, so airbags and seatbelts are pointless." ==> reactive methodology / failure / hubris

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by groundzeros2015 on Sunday December 14, 2025 @10:10PM (#46270016)
The seat belt analogy makes no sense. The new tools have entirely new vulnerability and problems.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by groundzeros2015 on Sunday December 14, 2025 @09:53PM (#46269911)
> If it aint broke don't fix it" is actually terrible advice.

We want to give up good things to get better things.

What is the vision for improving these tools with rust? What user benefit are they promising?

I’ve heard nothing but nebulous arguments about memory or security purity. There is no insight into how to do them better or faster; and in most cases they have demonstrated they didn’t even understand them fully to begin with, such as missing locales.

There isn’t even subjective value for users demanding it, it’s driven by rust developers.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by estebank on Monday December 15, 2025 @10:35AM (#46275834)
> What user benefit are they promising?

From their README, they promise better error messages, extensions when relevant (example: --progress), and Linux, macOS, Windows and other platforms support. It is my understanding that the GnuWin32 coreutils were last updated in 2017 and had some subtle differences to regular GNU coreutils, so that's one set of users for whom there's clear benefit. Faster speed could be accomplished if architectural changes are viable, but for many of these tools they are IO-bound.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by kachapopopow on Sunday December 14, 2025 @04:51PM (#46267366)
this has nothing to do with rust, kernel regulary ships rather experiemental features in some of the releases, there is a reason why only specific kernel versions become LTS
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Sunday December 14, 2025 @06:28PM (#46268280)
> kernel regulary ships rather experiemental features in some of the releases

Does the Linux kernel ship with rather experimental features as default? When was the rule not to break user space revoked?

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by kachapopopow on Monday December 15, 2025 @04:22PM (#46280868)
userspace doesn't get broken, you just kernel panic or experience severe slowdown due to some bug (like the one that existed on 6.18 and was fixed in 6.18.1 - not sure what the exact bug was, but updating to 6.18.1 made it go away.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Monday December 15, 2025 @04:27PM (#46280945)
> Does the Linux kernel ship with rather experimental features as default?
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by mynameismon on Sunday December 14, 2025 @02:40PM (#46266078)
I mean, why is Ubuntu using it as default when it isnt 1.0?
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Sunday December 14, 2025 @02:43PM (#46266107)
Ubuntu is evaluating it as the default in order to see if it’s ready. That’s something you want to do before declaring something 1.0.

If it’s not ready, they’ll roll it back.

Part of why you have to do something like this is because the test suite just isn’t comprehensive, nor should we expect it to be. Real world usage is what shakes out the long tail of bugs. You just have to have some sort of stage like this in order to get things into a good state.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Sunday December 14, 2025 @05:16PM (#46267652)
> Ubuntu is evaluating it as the default in order to see if it’s ready.

Did 100% of tests pass when Ubuntu made this decision? My understanding was no.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Sunday December 14, 2025 @05:22PM (#46267728)
No. Because the tests that don’t pass are edge cases and corners that most people wouldn’t notice. It’s arguably more important to fix bugs that impact actual usage, so it can be a valid strategy to do this even before you hit 100% coverage, to help you prioritize the remaining bugs to fix.

In other words, there may be more serious bugs not in the test suite than the ones that aren’t passing that are in the suite. And you only find that out through real usage.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Sunday December 14, 2025 @06:00PM (#46268044)
> Because the tests that don’t pass are edge cases and corners that most people wouldn’t notice.

This standard may be justified when there is significant benefit. There is not in this case. And some projects have stricter standards.[1]

> In other words, there may be more serious bugs not in the test suite than the ones that aren’t passing that are in the suite. And you only find that out through real usage.

You should assume everyone understands how Ubuntu's decision would benefit this project. You should assume most Ubuntu users do not care. You replied to a comment which told you this before.[2]

[1] https://lkml.org/lkml/2012/12/23/75

[2] https://news.ycombinator.com/item?id=46267541

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by tredre3 on Sunday December 14, 2025 @09:11PM (#46269603)
Many of the utils, such as sort, aren't locale-aware. Considering that most of the world do not use English/ASCII, do you still consider that an irrelevant edge case?
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Sunday December 14, 2025 @10:04PM (#46269992)
I don't consider it irrelevant, but neither does uutils. However, it's also not something that is currently at a zero. I'm not even sure that this percentage of tests is related to locale support specifically. I'm sure parity will be reached here.

For example, sort has an open PR on it right now.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Monday December 15, 2025 @04:29PM (#46280963)
> I'm sure parity will be reached here.

And this project should be considered then. Not before.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Monday December 15, 2025 @06:09PM (#46282201)
I would be surprised if they decided to go ahead without more robust locale support, I agree with that.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by mzajc on Monday December 15, 2025 @11:24AM (#46276570)
> edge cases and corners that most people wouldn’t notice.

This is a horrible mindset for developing software people are supposed to rely on.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Monday December 15, 2025 @01:35PM (#46278461)
Every project prioritizes bugs. It is impossible to work on everything all at once.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Monday December 15, 2025 @04:46PM (#46281172)
This discussion is not about priorities in 1 project. It is about the replacement of a more mature project by a less mature project.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by steveklabnik on Monday December 15, 2025 @06:08PM (#46282193)
It is about discovering how less mature a project is so that its maturity can be improved. Nothing has been replaced yet. That decision will be made once its maturity has been evaluated.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by pseudalopex on Monday December 15, 2025 @07:58PM (#46283343)
> It is about discovering how less mature a project is so that its maturity can be improved.

Must I repeat? You should assume everyone understands how Ubuntu's decision would benefit this project. You should assume most Ubuntu users do not care.

> Nothing has been replaced yet.

Do you believe non LTS releases are not releases? Do you believe defaults do not matter? Do you believe --allow-remove-essential is safe and should be recommended to all users?

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by egorfine on Monday December 15, 2025 @04:39AM (#46272247)
> they’ll roll it back.

They will absolutely not roll it back, not matter how broken they are.

The reasons to switch from coreutils to the Rust rewrite are purely political.

Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by itsn0tm3 on Sunday December 14, 2025 @03:04PM (#46266309)
They are testing it in a real world scenario before putting it into a LTS of theirs.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by kachapopopow on Sunday December 14, 2025 @02:44PM (#46266114)
so they see issues that rise up from real world issues that tests might not cover? the same ubuntu version also bundles the latest kernel which is not considered stable to begin with.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by tormeh on Sunday December 14, 2025 @04:56PM (#46267423)
The hateable part is the license. I love Rust but this is a huge step backwards.
Re:Rust Coreutils 0.5.0 Release: 87.75% compatibility with G... by kachapopopow on Monday December 15, 2025 @04:25PM (#46280911)
and that's what I was looking for, finally got a real answer.