From c980c5088421eeaf3f65a1c7418303cb0f79ab0d Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 10 Dec 2022 14:03:18 -0800 Subject: [PATCH] New note: Coreutil rewrites --- content/notes/coreutil-rewrites.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 content/notes/coreutil-rewrites.md diff --git a/content/notes/coreutil-rewrites.md b/content/notes/coreutil-rewrites.md new file mode 100644 index 0000000..4f6550e --- /dev/null +++ b/content/notes/coreutil-rewrites.md @@ -0,0 +1,15 @@ +--- +title: "Coreutil rewrites" +date: 2022-12-10T14:03:18-08:00 +replyURI: "https://fosstodon.org/@rrwo/109491538987294072" +replyTitle: "Can we agree to rewrite all the GNU utilities in Rust" +replyType: "SocialMediaPosting" +replyAuthor: "Robert" +replyAuthorURI: "https://fosstodon.org/@rrwo" +--- +The advantage of POSIX coreutils is their portability and universality; I can expect them to be present on any POSIX system. If re-writing will sacrifice portability, _we might as well do a clean break from POSIX and seek to improve upon existing coreutils_ rather than replace them. I listed some on [my "uses" page]({{}}): Zsh+DASH, ripgrep, sd, and fd. Three of those are written in Rust. + +> release them with a better licence + +I actually do like copyleft for more substantial works. However, POSIX shell utilities have been implemented many times over: Busybox, Toybox, and FreeBSD utilities come to mind. The specific free license they use is no longer important. +