1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 08:12:11 +00:00
seirdy.one/content/notes/coreutil-rewrites.md

19 lines
1 KiB
Markdown
Raw Normal View History

2022-12-10 22:03:18 +00:00
---
title: "Coreutil rewrites"
date: 2022-12-10T14:03:18-08:00
2022-12-10 22:16:27 +00:00
syndicatedCopies:
- title: 'The Fediverse'
url: 'https://pleroma.envs.net/notice/AQTdDi1kRXfigMWBPc'
2022-12-10 22:03:18 +00:00
---
2022-12-10 22:16:27 +00:00
<ins datetime="2022-12-10T22:13:50+00:00">This was originally a reply to another post. That post has been deleted.</ins>
> Can we agree to rewrite all the GNU utilities in Rust
2022-12-10 22:03:18 +00:00
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.