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. I mentioned this on reddit, but AFAIK, the uutils project doesn't yet support locales: https://github.com/uutils/coreutils/issues/3997 I'm not any more a fan of POSIX locales than the next person[1], but AIUI, that seems a likely…
    comment by burntsushi · 2025-03-13 · in Carefully but Purposefully Oxidising Ubuntu
  2. …utils, while retaining full compatibility with the existing utilities." https://uutils.github.io/ https://github.com/uutils/coreutils
    comment by sillywalk · 2025-02-23 · in OpenBSD Innovations
  3. https://github.com/uutils/coreutils Parent wasn't about rust specifically. Just something safer than C
    comment by ptman · 2025-02-23 · in OpenBSD Innovations
  4. ▲ 4
    Rust Coreutils 0.0.29 Release
    story by todsacerdoti · 2025-01-19 · 0 comments
  5. …compared to making 13,498 commits. https://www.cvedetails.com/product/5075/GNU-Coreutils.html?v... https://github.com/uutils/coreutils
    comment by hello_computer · 2024-11-03 · in Unix core utilities implemented in Haskell
  6. Related: https://github.com/uutils/coreutils "Cross-platform Rust rewrite of the GNU coreutils"
    comment by fngjdflmdflg · 2024-07-22 · in Eza: A modern, maintained replacement for ls
  7. If you want core utilities rewritten in Rust … ‘uutils’ is exactly that. https://github.com/uutils/coreutils
  8. …and overloaded with rarely-used options. > A similar project with the aim of GNU compatibility is https://github.com/uutils/coreutils
  9. …are also being used to test alternative implementations, such as uutils coreutils[0], in Rust. 0. https://github.com/uutils/coreutils
  10. …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
  11. …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
  12. …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…
  13. Think of it like a blackbox reimplementation, not porting existing code to another language: https://github.com/uutils/coreutils/blob/244693f50e224abf726...
  14. ▲ 302
    Cross-platform Rust rewrite of the GNU coreutils
    story by jcbhmr · 2024-01-03 · 305 comments
  15. …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
  16. …Rust Implementation Of GNU Coreutils.[1] Could be a big win for memory safety and performance. [1] https://github.com/uutils/coreutils
  17. ▲ 3
    New Version of the Rust Coreutils
    story by sylvestre · 2023-10-17 · 1 comment
  18. …) 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).
  19. https://github.com/uutils/coreutils MIT license
  20. …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.
  21. …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…
  22. …a long thread in the uutils repo with a discussion (slash flame war) about the license choice: https://github.com/uutils/coreutils/issues/834
  23. 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…
  24. 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
  25. …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?
  26. …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
  27. 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?
  28. ▲ 9
    Uutils / coreutils: Coreutils rewritten in rust version 0.0.13 released
    story by marcodiego · 2022-04-03 · 1 comment
  29. …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
  30. …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
  31. …('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
  32. 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
  33. …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
  34. …folks (GPL advocates) who are disappointed about the choice of license (MIT). See, for example: https://github.com/uutils/coreutils/issues/2757
  35. …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,…
  36. 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…
  37. …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.
  38. …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
  39. …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
  40. ▲ 243
    Uutils: an attempt at writing cross-platform CLI utilities in Rust
    story by GhettoComputers · 2021-12-06 · 314 comments
  41. …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.
  42. …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
  43. …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?
  44. I think https://github.com/uutils/coreutils is aiming to provide drop-in replacements.
  45. See also https://github.com/uutils/coreutils/
  46. …people have actually gone through the effort of rewriting the actual coreutils to spec in Rust ( https://github.com/uutils/coreutils ).
  47. > 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
  48. 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
  49. …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
  50. …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