Hacker GitHub

← All repos

uutils/coreutils

View on GitHub ↗ ★ 24,324 Rust

Cross-platform Rust rewrite of the GNU coreutils

162 mentions on Hacker News by 138 people: 22 stories, 140 comments · first 2013-11-29 · latest 2026-10-04

Mentions per year 162 mentions · busiest year 2025 (28)
20082026
  1. …given uutils have acknowledged they've copied GNU GPL code. From their latest release notes ( https://github.com/uutils/coreutils/releases/tag/0.12.0 ): "Also, some contributions had carried comments and code over from GNU coreutils,…
  2. …Rust duplication.. but only on systems upgraded from ancient times before this was the norm.) [1]: https://github.com/uutils/coreutils/issues?q=is%3Aissue+%28l...
  3. ▲ 5
    Rust coreutils acknowledges copying of GNU GPL code
    story by cz8844 · 2026-09-29 · 1 comment
  4. ▲ 7
    Rust coreutils acknowledges copying of GNU GPL code
    story by co4312 · 2026-09-17 · 3 comments
  5. Neat. I touched this code about 8 months later to avoid the per-block elapsed() call: https://github.com/uutils/coreutils/commit/cf7b90bbe7cb87099... Mirrored the way I implemented status=progress in FreeBSD dd, though there the flag was…
  6. …nchpad.net/ubuntu/+source/rust-coreutils/+bu... . The apparently related bug in the origin project is https://github.com/uutils/coreutils/issues/2949 , filed back in 2022 and which sat unmoved for several years until, probably not…
  7. They eventually fixed the one where it didn't sort properly, but it tooks months: https://github.com/uutils/coreutils/issues/12253 https://github.com/uutils/coreutils/issues/12912
  8. …submitted a PR for this issue about 3 hours before the first comment about it in this thread - https://github.com/uutils/coreutils/pull/14554 (and 2 hours before this link was submitted to HN)
  9. Not the same as: https://github.com/uutils/coreutils Although I could see them benefitting.
  10. …Linux kernel will never be fully rewritten in Rust.[4] Let's see how well that statement age. [1]: https://github.com/uutils/coreutils [2]: https://canonical.com/blog/canonical-releases-ubuntu-26-04-l... [3]:…
  11. A fair question is why this fork of coreutils is required when the original Rust rewrite ( https://github.com/uutils/coreutils/ ) supports Windows, in addition to Linux, macOS and wasm. The reason seems to be a few windows specific fixes (…
    comment by testdelacc1 · 2026-06-02 · in Coreutils for Windows
  12. Looks like it doesn't really fuzz much. https://github.com/uutils/coreutils/tree/main/fuzz/fuzz_targ... Maybe these tests aren't even fuzz tests? https://github.com/uutils/coreutils/blob/main/fuzz/fuzz_targ... Even the tests that look ok…
    comment by ozgrakkurt · 2026-04-30 · in Bugs Rust won't catch
  13. Why differential fuzzing did not catch these bugs? https://github.com/uutils/coreutils/tree/main/fuzz/uufuzz
    comment by dlahoda · 2026-04-29 · in Bugs Rust won't catch
  14. …utils that are easy to compile anywhere, and this is as good a way as any to try and learn it. https://github.com/uutils/coreutils/blob/9653ed81a2fbf393f42...
    comment by kibwen · 2026-04-29 · in Bugs Rust won't catch
  15. …results of a huge set of correctness tests and performance benchmarks Yeah, you can see those in https://github.com/uutils/coreutils . This project has also worked with GNU coreutils maintainers to add more tests over time. Check out the…
    comment by testdelacc1 · 2026-04-29 · in Bugs Rust won't catch
  16. …started out with far smaller ambitions. It was originally intended to be a way to learn Rust. [0]: https://github.com/uutils/coreutils/commit/7abc6c007af75504f...
    comment by aw1621107 · 2026-04-29 · in Bugs Rust won't catch
  17. …cross-checking uutils I noticed it does have a bunch of unsafe blocks that call into libc, e.g. https://github.com/uutils/coreutils/blob/77302dbc87bcc7caf87... . Thankfully they're pretty minimal, but every such block can reduce the safety…
    comment by osmsucks · 2026-04-29 · in Bugs Rust won't catch
  18. …or not since we're talking about uutils and their stance on it, and they've written that: https://github.com/uutils/coreutils/blob/6b8a5a15b4f077f8609... > we cannot accept any changes based on the GNU source code [..]. It is however…
    comment by TheDong · 2026-04-29 · in Bugs Rust won't catch
  19. …uutils started off back in 2013 as a way to learn Rust [0] way before the present kerfuffle. [0]: https://github.com/uutils/coreutils/tree/9653ed81a2fbf393f42...
    comment by aw1621107 · 2026-04-29 · in Bugs Rust won't catch
  20. Also of interest: https://github.com/uutils/coreutils/issues Is rewritting old softwares into a newer language a bit like adding people to a late project?
    comment by rixed · 2026-04-25 · in An Update on Rust-Coreutils
  21. ▲ 2
    Rust Coreutils v0.8.0: performance gains, WebAssembly support, online playground
    story by maxloh · 2026-04-12 · 0 comments
  22. This rewrite of GNU coreutils to rust comes to mind https://github.com/uutils/coreutils
    comment by nightshift1 · 2026-03-12 · in Malus – Clean Room as a Service
  23. …an implementation in rust, can the second project be legally MIT, or any other? Isn't that what https://github.com/uutils/coreutils is? GNU coreutils spec and test suite, used to produce a rust MIT implementation. (Granted, by humans AFAIK)
    comment by yjftsjthsd-h · 2026-03-05 · in Relicensing with AI-Assisted Rewrite
  24. …shut people up. They don't and wont. > I searched but couldn't find an answer. Here's the answer: https://github.com/uutils/coreutils/issues/2757 . This is a link I found long time ago and saved to reference when need arises. From the…
    comment by bayindirh · 2026-02-24 · in What it means that Ubuntu is using Rust
  25. ▲ 10
    Rust Coreutils v0.6.0 Release: 96.28% GNU compatibility and safety improvements
    story by maxloh · 2026-02-10 · 2 comments
  26. ▲ 5
    Uutils/coreutils: Cross-platform Rust rewrite of the GNU coreutils
    story by tosh · 2026-01-11 · 0 comments
  27. ▲ 95
    Rust Coreutils 0.5.0 Release: 87.75% compatibility with GNU Coreutils
    story by maxloh · 2025-12-14 · 145 comments
  28. …are already doing it. For example, the recent sudo-rs rewrite. Or the uutils coreutils package: https://github.com/uutils/coreutils - Which passes almost all conformance tests now by the way. (Though they could certainly use a few more…
  29. Someone's already made a pull request to resolve the bug: https://github.com/uutils/coreutils/issues/9202
  30. …is at 0.2.2), but at least until the green line reaches the blue line in this graph: https://github.com/uutils/coreutils?tab=readme-ov-file#gnu-t... Of course, "exotic" bugs might happen (not sure how exotic the bug that caused this issue…
  31. …comment like `--set` has. 0: https://github.com/coreutils/coreutils/commit/14d24f7a530f58... 1: https://github.com/uutils/coreutils/commit/41d1dfaf440eabba3...
  32. …that the more(1) they shipped had no equivalent in GNU coreutils at all? Its from util-linux: https://github.com/uutils/coreutils/issues/8975 Doesn't look like people who do their homework
  33. …the command silently accepted -r before and did nothing (!) 0: https://lwn.net/Articles/1043123/ 1: https://github.com/uutils/coreutils/issues/8621 2: https://github.com/uutils/coreutils/pull/8630
  34. …a pretty good candidate. Edit: Or not, see evil-olive's comment[1] for a more likely candidate. 0: https://github.com/uutils/coreutils/commit/0047c7e66ffb57971... 1: https://news.ycombinator.com/item?id=45687743
  35. …1: https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bu... 2: https://github.com/uutils/coreutils/issues/8621 3: https://github.com/uutils/coreutils/pull/8630
  36. Not sure what this offers above or beyond the rust uutils/coreutils... https://github.com/uutils/coreutils
    comment by tracker1 · 2025-10-06 · in Toybox: All-in-one Linux command line
  37. …src/uucore/src/lib/features, findutils, diffutils; MIT, Rust: https://github.com/uutils/coreutils/tree/main/src/uucore/src...
    comment by westurner · 2025-10-06 · in Toybox: All-in-one Linux command line
  38. …has a `base64` in Rust which just gained better performance due to the base64-simd crate for SIMD: https://github.com/uutils/coreutils/pull/8578
  39. ▲ 3
    Fix(dd): ensure full block writes to handle partial writes to slow pipes
    story by rurban · 2025-10-01 · 0 comments
  40. …nuance and care. It is not easy to say what makes good code or even identify it. So... LGTM [0] https://github.com/uutils/coreutils/issues/7092 [1] https://news.ycombinator.com/item?id=45409430 [2] https://stackoverflow.com/questions/184618…
    comment by godelski · 2025-09-30 · in The AI coding trap
  41. …scripts depending on undefined behavior, like "calling install(1) with multiple -m arguments": https://github.com/uutils/coreutils/issues/8033 The other one was an edge-case with dangling symlinks: https://github.com/uutils/coreutils/issues…
  42. …4. https://lwn.net/Articles/1007907/ 5. https://corrode.dev/blog/foundational-software/ 6. https://github.com/uutils/coreutils
  43. …tps://ziggit.dev/t/zig-as-a-c-and-c-compiler/10963 * Rust rebuilt the core nix utilities from scratch https://github.com/uutils/coreutils I've heard a bunch of people making their own OS from scratch just to see how it works, heck there…
  44. A relevant task in uutils https://github.com/uutils/coreutils/issues/4362 describes how io_uring universally helps in almost any disk operation util.
    comment by Lockal · 2025-07-19 · in lsr: ls with io_uring
  45. …log other stuff than y. The uutils rewrite of yes into rust doesn't use unsafe and is much simpler. https://github.com/uutils/coreutils/blob/main/src/uu/yes/src...
  46. …Excluding the test code at the bottom, the Rust version is a bit less than 120 lines. [0] https://github.com/uutils/coreutils/blob/main/src/uu/yes/src...
  47. ▲ 45
    Rust Coreutils 0.1.0 Release
    story by sohkamyung · 2025-05-25 · 18 comments
  48. …we'll see a license change from GPL [1] to MIT. "Differences with GNU are treated as bugs." - https://github.com/uutils/coreutils#goals That's promising. Wouldn't it be annoying though, to have to keep things bug-for-bug compatible on a…
  49. It is a comment coming from pragmatism, not ignorance. At any rate, feel free to look around here: https://github.com/uutils/coreutils/issues?q=is%3Aissue%20st... It is NOT a replacement of GNU coreutils AT ALL, as of yet. Granted under…
  50. …aims to be a drop-in replacement for the GNU utils. Differences with GNU are treated as bugs. -- https://github.com/uutils/coreutils?tab=readme-ov-file#goals