News for hackers. Stuff that matters.
Re:How efficient can cat(1) be? by pif on Monday July 18, 2022 @05:50AM (#32136357)
Slightly out of topic:

> There have been a few initiatives in recent years to implement new a new userspace base system for Linux distributions as an alternative to the GNU coreutils and BusyBox.

Have there been? And why?

Re:How efficient can cat(1) be? by jwilk on Monday July 18, 2022 @09:19AM (#32138010)
I heard only about this one:

https://github.com/uutils/coreutils ("Cross-platform Rust rewrite of the GNU coreutils")

Re:How efficient can cat(1) be? by ttgurney on Monday July 18, 2022 @12:41PM (#32140288)
> Have there been? And why?

A few reasons why people might want to do this:

- Optimizing for small approachable codebase instead of featurefulness or performance (sbase)[1]

- Dissatisfaction with GPL (toybox)[2]

- Desire to replace C (described as an "unsafe" language) with Rust or Go (examples exist but I don't know of specific ones)

[1]: https://core.suckless.org/sbase/

[2]: https://landley.net/toybox/

Re:How efficient can cat(1) be? by odc on Monday July 18, 2022 @06:38AM (#32136601)
Why indeed! Recent versions of GNU cat (and other coreutils) include those optimizations.

https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/cat...

Re:How efficient can cat(1) be? by jwilk on Monday July 18, 2022 @09:17AM (#32137990)
To be honest, GNU coreutils is not a good alternative to GNU coreutils. :-P