1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

New note: Coreutil rewrites

This commit is contained in:
Rohan Kumar 2022-12-10 14:03:18 -08:00
parent 9df4d83c73
commit c980c50884
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -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]({{<relref "/about/uses.md">}}): 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.