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

1 KiB

title date syndicatedCopies
Coreutil rewrites 2022-12-10T14:03:18-08:00
title url
The Fediverse https://pleroma.envs.net/notice/AQTdDi1kRXfigMWBPc

This was originally a reply to another post. That post has been deleted.

Can we agree to rewrite all the GNU utilities in Rust

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.