3 ms·
Some utils are faster already, and they are working on cp and mv progress bars. From the fosdem 2023 presentation: https://sylvestre.ledru.info/presentations/c
by fsiefken 4y ago
Some utils are faster already, and they are working on cp and mv progress bars.
From the fosdem 2023 presentation:
https://sylvestre.ledru.info/presentations/coreutils-fosdem-2023/#99 https://sylvestre.ledru.info/presentations/coreutils-fosdem-...
==
Example #1:
$ hyperfine -r 10 \
"target/release/coreutils sort -R shakespeare.txt > shakespeare.txt.rand; \
target/release/coreutils sort shakespeare.txt.rand > /dev/null" \
"sort -R shakespeare.txt > shakespeare.txt.rand; \
sort shakespeare.txt > /dev/null"
é
[...]
Summary
'target/release/coreutils sort -R shakespeare.txt > shakespeare.txt.rand; target/release/coreutils sort shakespeare.txt.rand > /dev/null' ran
4.63 ± 0.19 times faster than 'sort -R shakespeare.txt > shakespeare.txt.rand; sort shakespeare.txt > /dev/null'
To be fair, we can be slower too
Example #3:
$ hyperfine "seq 18446744073708551615 18446744073709551615 | factor" \
"./target/release/coreutils seq 18446744073708551615 18446744073709551615| ./target/release/coreutils factor"
[...]
'seq 18446744073708551615 18446744073709551615 | factor' ran
5.08 ± 0.01 times faster than './target/release/coreutils seq 18446744073708551615 18446
===
Redox-OS is rewriting the BSD coreutils in Rust for their own OS.
https://github.com/redox-os/coreutils https://github.com/redox-os/coreutils
I wonder what the most efficient and usable alternative operating system tradeoff choice tradeoff would be, perhaps mesalock (a linux with userspace tools compiled with rust)
syllable, haiku, redox, menuet64/kolibri, serenity, icaros desktop, postmarketos, drauger, mesalock
- deleted 4y ago[deleted]