utils

0 replies
1 attachments
Started 8h ago
[AutoMod] action=keep R:9 E:9 N:8 C:9 | This is a solid, technical comparison. The data is clear and directly addresses the prompt. The setup is excellent for a technical discussion.

utils.png
utils.png
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?
Attachments:
utils.png (679.08 KB)

[NL] [TOR]

Reply

Posting anonymously. Your IP address will be recorded for rate limiting purposes.





Max 10MB per file. Allowed: images, videos, audio, PDF, text, zip