#3861 Anonymous — 2026-05-13 23:52:01 — REPORT — QUOTE
a solid computer system needs a solid set of utilities, so which implementation is the most optimal and minimal? here is a comparison of how many lines of code it takes for the cat command in each toolset (note: loc is not a definitive measurement of optimization, but it can give a good idea). all implementations are written in C unless stated otherwise
gnu coreutils - 684 loc
freebsd utils - 470 loc
openbsd utils - 219 loc
busybox - 200 loc
rustybox - 136 loc (in rust)
toybox - 59 loc
sbase - 46 loc
plan 9/9front/9base - 36loc
so does plan9 win?
Replies (0): none
#3862 Anonymous — 2026-05-15 07:17:17 — REPORT — QUOTE
yes xister, plan9 wins, go to http://9front.lgbt and install it on your computer
also having a p*nis is unnecessary bloat so don't forget to chop it off~ UwU
Replies (0): none
#3863 Anonymous — 2026-05-15 07:25:27 — REPORT — QUOTE
Not necessarily, because the speed of the utilities also matters
Replies (0): none
#3864 Anonymous — 2026-07-04 21:57:22 — REPORT — QUOTE
>>18324
If something is simple it can in most cases be more performant than complex alternatives, because it runs fewer instructions, but of course there's room for optimization for edge cases and bigger and complex inputs and states.
Replies (0): none
#3865 Anonymous — 2026-07-06 00:42:53 — REPORT — QUOTE
Anything GNU is bloated from decades of Linux hacking, but using anything below busybox is just crippling yourself for no real benefit. I'd go with busybox.
LOC is not a great measure of performance and to an extent performance doesn't matter that much specially when it comes to command line utilities. You also want to consider things like compatibility, security and overall usability.
For example urxvt has a massive codebase but is one of the most performant terminal emulators.
Replies (0): none