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. …as my default shell. They were also writing their own but recently decided instead to begin incorporating github.com/uutils/coreutils (Rust rewrite of GNU coreutils). They target uutils to be a drop-in replacement for the GNU utils.…
    comment by abhinavk · 2024-01-21 · in The Bun Shell
  2. …when to/not to rewrite code, but when you do, you do trade one set of bugs for a new set of bugs: https://github.com/uutils/coreutils/issues
  3. …that have been developed and maintained for decades and used by millions over that time period. https://github.com/uutils/coreutils/issues/1420 https://github.com/uutils/coreutils/issues/886 https://github.com/uutils/coreutils/issues/5149…
  4. Think of it like a blackbox reimplementation, not porting existing code to another language: https://github.com/uutils/coreutils/blob/244693f50e224abf726...
  5. …you count. Methodology comments welcome. [1]: https://www.gnu.org/software/coreutils/#source [2]: https://github.com/uutils/coreutils
    comment by tczMUFlmoNk · 2023-11-23 · in Committing to Rust for Kernel Code
  6. …Rust Implementation Of GNU Coreutils.[1] Could be a big win for memory safety and performance. [1] https://github.com/uutils/coreutils
  7. …) The person you’re replying to was speaking of a different project - uutils ( https://github.com/uutils/coreutils ). These are drop in replacements with identical interfaces (modulo bugs).
  8. https://github.com/uutils/coreutils MIT license
  9. …than having to reimplement a whole userland from scratch. Probably. But once it's reimplemented ( https://github.com/uutils/coreutils ) I think it's really cool you can run get binaries for Linux, macOS and Windows with one build command.
  10. …source code, it is impressive that this re-implementation is essentially complete! Look at this: https://github.com/uutils/coreutils/tree/main/src/uu It's only missing some obscure and fringe things. It's not just a matter of having all…
  11. …a long thread in the uutils repo with a discussion (slash flame war) about the license choice: https://github.com/uutils/coreutils/issues/834
  12. Link to the actual implementation: https://github.com/uutils/coreutils I love these re-implementations of things. Technology advances by the continued reinvention of the wheel, and even if some efforts end up being of merely didactic…
  13. Related, but sudo is not in scope for this project: https://github.com/uutils/coreutils
    comment by candiddevmike · 2022-11-04 · in Sudo: Heap-based overflow with small passwords
  14. …attacking the project and the people behind it. I was a big fan of FSF until that point. [0] https://github.com/uutils/coreutils
    comment by faisal_ksa · 2022-10-08 · in Is the FSF Fighting the Previous War?
  15. …of rewriting, but there are very much active efforts to rewrite things in rust (ex. coreutils - https://github.com/uutils/coreutils , OS - https://www.redox-os.org/ ) or to add rust to existing projects (Linux, Firefox and Chrome both (…
    comment by yjftsjthsd-h · 2022-07-22 · in Building a Rust Mentality
  16. I heard only about this one: https://github.com/uutils/coreutils ("Cross-platform Rust rewrite of the GNU coreutils")
    comment by jwilk · 2022-07-18 · in How efficient can cat(1) be?
  17. …is that uutils yes can be even faster than GNU yes by taking advantage of Linux's vmsplice syscall: https://github.com/uutils/coreutils/blob/main/src/uu/yes/src... On my system it manages 20GB/s vs 6 GB/s (piping through pv into /dev/null).
    comment by duckerude · 2022-01-29 · in An update on rust/coreutils
  18. …Rust would you be able to use this as an OS abstraction layer by importing these sorts of things: https://github.com/uutils/coreutils/blob/main/src/uu/chmod/s... Is this one of the intentions of this team? It sounds like it could make…
    comment by gravypod · 2022-01-29 · in An update on rust/coreutils
  19. …('utils') which are more or less stand-alone[0], so I think this mantra doesn't apply here. [0] https://github.com/uutils/coreutils/tree/main/src/uu
    comment by sva_ · 2022-01-29 · in An update on rust/coreutils
  20. https://github.com/uutils/coreutils/actions click on a CI job on main For example: https://github.com/uutils/coreutils/runs/4990891225?check_su... The "Run GNU tests" is probably what you are looking for.
    comment by sylvestre · 2022-01-29 · in An update on rust/coreutils
  21. …most of the time by a simple if else. For example, adding new options usually looks like this PR: https://github.com/uutils/coreutils/pull/2880/files The performance wins are usually produced by using some fancy Rust features.
    comment by sylvestre · 2022-01-29 · in An update on rust/coreutils
  22. …folks (GPL advocates) who are disappointed about the choice of license (MIT). See, for example: https://github.com/uutils/coreutils/issues/2757
  23. …in 2021: https://sylvestre.ledru.info/blog/2021/03/09/debian-running-... > tldr: Rust/coreutils ( https://github.com/uutils/coreutils/ ) is now available in Debian, good enough to boot a Debian with GNOME, install the top 1000 packages,…
  24. There's also this issue by FSF director Ian Kelling: https://github.com/uutils/coreutils/issues/1781 Honestly, it sounds like they're deeply scared of long-standing FSF-backed software having to compete (or even be replaced) with…
  25. …and thinks this project has little merit other than to work around the GPL license of coreutils... https://github.com/uutils/coreutils/issues/1781 I'm curious as to what extent GNU coreutils governance is tied to the FSF these days.
  26. …do your own rewrite or, like Muse Group, outright buy the rights to the software and relicense. [1] https://github.com/uutils/coreutils/issues/834
  27. …needs to be done, and imho, it is a bit premature to title this article as is presented here. [1] https://github.com/uutils/coreutils#utilities
  28. …And I have a PR to fix problems in another Rust wrapper of the same libc functions: https://github.com/uutils/coreutils/pull/2653 It's hard to get right. Skimming the PR, the feedback looks reasonable.
  29. …existing ones. I will actually have a breakdown if someone tries to rewrite SQLite in Rust[2]. 1: https://github.com/uutils/coreutils 2: https://sqlite.org/testing.html
    comment by lionkor · 2021-10-26 · in Writing a Linux-compatible kernel in Rust
  30. …of indispensable component of a Linux-based OS - they aren't, and pretending they are hurts us. [1] https://github.com/uutils/coreutils/issues/1781 [2] https://gcc.gnu.org/legacy-ml/gcc/2014-01/msg00247.html
    comment by marcan_42 · 2021-09-30 · in What the GNU?
  31. I think https://github.com/uutils/coreutils is aiming to provide drop-in replacements.
  32. See also https://github.com/uutils/coreutils/
  33. …people have actually gone through the effort of rewriting the actual coreutils to spec in Rust ( https://github.com/uutils/coreutils ).
  34. > tldr: Rust/coreutils ( https://github.com/uutils/coreutils/ ) is now available in Debian, Is it just my version of Firefox, or does anybody else get a line wrapping justification algo that ends the first line with "Debia" and begins the…
    comment by jancsika · 2021-03-09 · in Debian Running on Rust Coreutils
  35. https://github.com/uutils/coreutils/search?q=gnu "This is the way it was implemented in GNU split." i dunno maybe there are cases where they copy more than behavior... but interesting to look through
    comment by moocowtruck · 2021-03-09 · in Debian Running on Rust Coreutils
  36. …up [2] and does not implement the old simple version [3] (or the even simpler OpenBSD [4]) [0]: https://github.com/uutils/coreutils/blob/master/src/uu/yes/s... [1]: https://github.com/coreutils/coreutils/blob/master/src/yes.c [2]:…
    comment by felixr · 2021-03-09 · in Debian Running on Rust Coreutils
  37. …time is spending copying the files. For the factor command, some work happened to make it faster https://github.com/uutils/coreutils/commits/master/src/uu/fa... (getting closer). Using Rust also opens some great capabilities like…
    comment by sylvestre · 2021-03-09 · in Debian Running on Rust Coreutils
  38. …that are easy to compile anywhere, and this is as good a way as any to try and learn it. [1] https://github.com/uutils/coreutils/
    comment by twic · 2021-03-09 · in Debian Running on Rust Coreutils
  39. It's not finished, but a decent amount is implemented: https://github.com/uutils/coreutils In general there has been more effort put into trying to improve on the default tools through projects like ripgrep (grep), bat (cat), lsd and exa…
  40. …has been rather fun and successful, is speeding up uutils' implementation of integer factorisation: https://github.com/uutils/coreutils/pulls?q=is%3Apr+author%3... (uutils is a Rust reimplementation of the GNU coreutils and findutils) I'm…
  41. There is https://github.com/uutils/coreutils implemented in Rust
  42. https://github.com/uutils/coreutils
    comment by vePhi4le · 2020-05-19 · in Linux Productivity Tools (2019) [pdf]
  43. He might just be wrong: https://github.com/uutils/coreutils The only reason he might still be right is if they don't aim to be POSIX-compliant. The page doesn't explicitly call out compliance as a goal, but given that it has some busybox…
  44. The first four utils were added 7+ years ago: https://github.com/uutils/coreutils/commit/9653ed81a2fbf393f... This has been developed for a while. You're looking at the official GitHub releases which doesn't mean much. It just means they…
  45. …100 commands, so you'll have seen at least that many separate crates building. They're listed here: https://github.com/uutils/coreutils/blob/6e8c901204934029c88... My impression is that ecosystems where tracking dependencies is hard tend…
  46. That commit doesn't have any files in it. The first release of "uutils coreutils" appears to be this: https://github.com/uutils/coreutils/commit/511f138e3856e2d69... which is only twenty days young, and a 0.0.1 release to boot (whatever…
  47. https://github.com/uutils/coreutils/commit/d4e96b33e34373399... I read 2013, Theo de Raadt's email is from 2017, over 4 years later. I think we can fault him for being overconfident and not checking his facts.
  48. …network connections at build time to fetch dependencies! For example something as simple as chown: https://github.com/uutils/coreutils/blob/master/src/uu/chown...
  49. 79 by my count, but I'd be happy to have someone correct me. https://github.com/uutils/coreutils/tree/ef4d09ee3c067c280ba... It looks to me like the only changes in that table since November 2017 are that `join` and `df` were moved from…
  50. …This is in fact incorrect--there is a project aiming to build all of the coreutils in Rust ( https://github.com/uutils/coreutils ). More to the point: while I do concur in the conclusion that Rust shouldn't be a part of the OpenBSD base…