Skip to content

Comment on How the GNU coreutils are tested (2017)parent

Comments

Busybox is no spring chicken, you know - it attempts to be coreutils and util-linux and ip(8) and dhcp(8) and vi and more all at once. Here are some numbers, all compiled with musl libc and stripped:

coreutils with --enable-single-binary=symlinks: 1.6M. Naturally this is a bit optimistic because coreutils is usually built with glibc.

busybox with `make defconfig`: 964K.

sbase[0] with `make sbase-box`: 340K.

[0] https://core.suckless.org/sbase

Even without considering that coreutils also ships with a heaping pile of support files for things like localization, it's still 5 times larger than sbase, and just under twice as big as busybox, which has 5-10x the functionality.

sbase is incomplete, though, so not really apples to apples

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.