Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-apps/uutils-coreutils usable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2127

PostPosted: Mon Jun 24, 2024 8:36 am    Post subject: sys-apps/uutils-coreutils usable Reply with quote

I note that the 5Rust rewrite of coreutils, sys-apps/uutils-coreutils is in portage, albeit ~amd64. Ditto sys-apps/uutils-findutils.

Both are know to fail various tests, but does anyone know if they're usable replacements for the C versions? I'm presuming that their presence in portage implies someone loves them enough, and therefore the failing tests won't impact common use cases.

<edit>Just found this blog, which implies the answer might be "No". It was written just 5 days ago,
_________________
Greybeard
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9596
Location: beyond the rim

PostPosted: Mon Jun 24, 2024 10:56 am    Post subject: Reply with quote

Well, basically all problems listed in that post were structural differences between the package build systems, not functional deficits of the actual tools. But of course the tests performed were very superficial.

Don't expect these to become viable drop-in replacements anytime soon though.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1836

PostPosted: Mon Jun 24, 2024 11:44 am    Post subject: Reply with quote

OMG. coreutils re-written in Rust? That might be the scariest thing I've ever read here. Of all things that one sounds like an attempt at proving out the "if it ain't broke don't fix it" theory. Is it just me?

Tom
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2127

PostPosted: Mon Jun 24, 2024 12:26 pm    Post subject: Reply with quote

tld wrote:
OMG. coreutils re-written in Rust? That might be the scariest thing I've ever read here. Of all things that one sounds like an attempt at proving out the "if it ain't broke don't fix it" theory. Is it just me?
Tom

Another view: Something as basic as coreutils written in an unsafe language? That's scary...
_________________
Greybeard
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1836

PostPosted: Mon Jun 24, 2024 1:22 pm    Post subject: Reply with quote

So now everything written in c is unsafe, and we're somehow better off rewriting stuff from scratch that's worked and has been debugged and tweaked longer than most users have been alive? That's a pretty tough sell for me.

Not really the forum for that debate though...so I'll leave it at that.

Tom
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20424

PostPosted: Mon Jun 24, 2024 6:22 pm    Post subject: Reply with quote

What's the saying? Something like the only bug free code is the code you didn't write.

Arbitrarily rewriting things, whether it be ruby back when that was a thing or whatever comes along tomorrow, seems a rather "unfriendly" approach to the community as a whole.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum