coreutils VS WSL

Compare coreutils vs WSL and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
coreutils WSL
112 406
4,024 16,652
2.7% 1.5%
9.3 8.6
7 days ago 3 days ago
C PowerShell
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

coreutils

Posts with mentions or reviews of coreutils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-13.
  • GNU Coreutils 9.5 Can Yield 10~20% Throughput Boost For cp, mv and cat Commands
    1 project | news.ycombinator.com | 28 Mar 2024
    https://github.com/coreutils/coreutils/commit/fcfba90d0d27a1...

    A summary of other changes just released in GNU coreutils 9.5 are:

    * mv accepts --exchange to swap files

  • How the GNU coreutils are tested
    1 project | news.ycombinator.com | 21 Feb 2024
    > some are simple like yes(1)

    Not that simple: https://github.com/coreutils/coreutils/blob/master/src/yes.c

  • Show HN: Usr/bin/env Docker run
    4 projects | news.ycombinator.com | 13 Jan 2024
    The -S / --split-string option[1] of /usr/bin/env is a relatively recent addition to GNU Coreutils. It's available starting from GNU Coreutils 8.30[2], released on 2018-07-01.

    Beware of portability: it relies on a non-standard behavior from some operating systems. It only works for OS's that treat all the text after the first space as argument(s) to the shebanged executable; rather than just treating the whole string as an executable path (that can happen to contain spaces).

    Fortunately this non-standard behavior is more the norm than the exception: it works at least on modern GNU/Linux, BSDs, and macOS.

    [1] https://www.gnu.org/software/coreutils/manual/html_node/env-...

    [2] https://github.com/coreutils/coreutils/blob/b09dc6306e7affaf...

  • From Nand to Tetris: Building a Modern Computer from First Principles
    6 projects | news.ycombinator.com | 22 Dec 2023
    > building a cat from scratch

    > That would be an interesting project.

    Here is the source code of the OpenBSD implementation of cat:

    > https://github.com/openbsd/src/blob/master/bin/cat/cat.c

    and here of the GNU coreutils implementation:

    > https://github.com/coreutils/coreutils/blob/master/src/cat.c

    Thus: I don't think building a cat from scratch or creating a tutorial about that topic is particularly hard (even though the HN audience would likely be interested in it). :-)

  • The Linux Scheduler: A Decade of Wasted Cores (2016) [pdf]
    3 projects | news.ycombinator.com | 13 Dec 2023
    the yes command, writing to /dev/null, is making IO calls, which interfere with predictable scheduling.

    If you look at the source code for yes, https://github.com/coreutils/coreutils/blob/master/src/yes.c

    it builds a buffer of output and then writes that in a for loop

      while (full_write (STDOUT_FILENO, buf, bufused) == bufused)
  • nohup not working?
    1 project | /r/bash | 7 Dec 2023
    Looking at the source of nohup, if the execvp() of the child happens then it _must_ have already done the signal (SIGHUP, SIG_IGN) so - WTF?
  • Is it fair to say "ls" is dead? No commits in 15 years
    1 project | news.ycombinator.com | 10 Oct 2023
    This got me wondering so I went and looked and it seems like lo and behold there was actually a commit to the GNU ls source just 2 weeks ago.

    https://github.com/coreutils/coreutils/blob/master/src/ls.c

    "maint: prefer char32_t to wchar_t"

  • The Tao of Programming
    1 project | news.ycombinator.com | 28 Sep 2023
  • Decoded: GNU Coreutils
    5 projects | news.ycombinator.com | 8 Sep 2023
    even an empty file? Yes. so now it was a file with a copyright disclaimer and nothing else. And the koan-like question comes to mind is "Can you copyright nothing?" well AT&T sure tried.

    Then somebody said our programs should be well defined and not depend on a fluke of unix, which at this point was probable a good idea. so it became "exit 0"

    Then somebody said we should write our system utilities in C instead of shell so it runs faster. openbsd still has a good example of how this would look.

    http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr....

    At some point gnu bureaucracy got involved and said all programs must support the '-h' flag. so that got added, then they said all programs must support locale so that got added. now days gnu true is an astonishing 80 lines long.

    https://github.com/coreutils/coreutils/blob/master/src/true....

    http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html

  • Exa Is Deprecated
    9 projects | news.ycombinator.com | 7 Sep 2023
    > Yes, ls is maintained. Although, maintained is a very strong word. It exists.

    Why would it be a strong word? Here it is, in src/ls.c: https://github.com/coreutils/coreutils

    It is then packaged by tens of operating system distributions, who themselves maintain extra patchsets, some of which are then upstreamed.

    It is installed and used on millions (billions?) of devices, for 3 decades.

    It's a very reliable and trusty "sharp stick of metal" :)

WSL

Posts with mentions or reviews of WSL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.
  • GoboLinux
    3 projects | news.ycombinator.com | 28 Feb 2024
    It absolutely 100% can be true.

    As an example: Windows Services for Linux 2 used a special init daemon to interact with the host OS.

    That meant no systemd. That meant that the `systemctl` program wasn't there.

    This baffled legions, armies, of wannabe sysadmins.

    https://stackoverflow.com/questions/55579342/why-systemd-is-...

    https://superuser.com/questions/1785697/systemd-in-wsl-on-wi...

    https://github.com/microsoft/WSL/issues/9477

    https://askubuntu.com/questions/1132230/unable-to-run-any-sy...

    People on the whole have no idea how this stuff works, and they just copy magic incantations from StackOverflow to get stuff to happen. If that doesn't work, then this OS is broken. The end.

    For these guys, WSL was broken.

    Result:

    MS hired Lennart Poettering.

    https://www.theregister.com/2022/07/07/lennart_poettering_re...

    He "fixed" it. Systemd now works in WSL2. All those guides for noobs now work. Everyone is happy.

    In a world where tools like Flatpak and Snap are proliferating and it's driving deep divisions between Linux distros, if you think the average person struggling with Linux is going to use `ldd` to work out where the dependencies for something live, I'm afraid you are a deep guru who lives on a different plane of existence.

    We now have widely-used packaging systems which simply embed an apps entire dependency tree into a package to avoid people having to work out the difference between `apt` and `rpm`. Thousands of terabytes of disk are being burned to make this stuff go away.

    Yes, this is too hard. Way too hard.

  • Why Linux utilities tend to run poorly on Windows
    1 project | news.ycombinator.com | 3 Jan 2024
    Better source: https://github.com/Microsoft/WSL/issues/873#issuecomment-425...
  • Weird graphical glitch/problem in Ubuntu WSLg (OpenGL)
    1 project | /r/bashonubuntuonwindows | 10 Dec 2023
  • RamRamRamEveryoneSleepingOnDocker
    3 projects | /r/ProgrammerHumor | 7 Dec 2023
    One of the bugs where on the Docker side. As I have said, there have been several since release with a lot of impact period overlap. The latest and greatest is not resolved.
  • Laravel dev in Windows - Laragon vs Docker?
    1 project | /r/laravel | 7 Dec 2023
    It's the issue of abysmal I/O performance in communication between the mounted WSL2 virtual hard disk and Windows mounts inside the WSL2 distro.
  • WSL freeze seems fixed in 2.0.12
    1 project | news.ycombinator.com | 6 Dec 2023
  • What's the right way to open files in the system's default program from Ubuntu 22.04 in WSL 2 please?
    1 project | /r/bashonubuntuonwindows | 6 Dec 2023
    I found this github page and I was able to reproduce this from the answer
  • Ask HN: Best Docker open source alternative?
    1 project | news.ycombinator.com | 5 Dec 2023
    * Docker engine and not Docker Desktop in a VM. WSL2 works well after some configuration: https://github.com/microsoft/WSL/issues/6655#issuecomment-11...
  • Broadcom to Cut Almost 1,300 VMware Jobs in California After Takeover
    1 project | news.ycombinator.com | 30 Nov 2023
    Seems to more of a Defender issue than a WSL one, see https://github.com/microsoft/WSL/issues/8995

    After adding exclusions for the fsnotifier-wsl process and and both variants of the WSL distro path my disk performance was improved.

    Adding the idea64.exe process also helped since I was trying to run IntelliJ against projects inside WSL.

  • Bricked WSL 2 after 2.0.9 / Windows 10
    1 project | /r/bashonubuntuonwindows | 21 Nov 2023

What are some alternatives?

When comparing coreutils and WSL you can also consider the following projects:

util-linux

wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios

madaidans-insecurities

genie - A quick way into a systemd "bottle" for WSL

busybox - BusyBox mirror

Scoop - A command-line installer for Windows.

src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

Single-GPU-Passthrough

linux - Linux kernel source tree

setup-msys2 - GitHub Action to setup MSYS2

gnulib - upstream mirror

mkcert - A simple zero-config tool to make locally trusted development certificates with any names you'd like.