News for hackers. Stuff that matters.
Re:Why is a Rust executable large? by jleahy on Thursday June 02, 2016 @06:41PM (#11826718)
Not necessarily.

You could go the way of busybox or uutils and have a single binary with many hard links. So 'ls', 'wc', 'grep', etc can all point at a single executable which dispatches to different functionality based on argv[0].

Then you can even share code between the binaries, which should make them even smaller.

Re:Why is a Rust executable large? by glandium on Thursday June 02, 2016 @06:55PM (#11826820)
ls and grep are in /bin on my system. wc, coming from coreutils is in /usr/bin. But that's really only a small part of /usr/bin.

$ dpkg -L coreutils | grep -c /usr/bin 76

Are you suggesting that all of e.g. GNOME should be a single program?

Re:Why is a Rust executable large? by cgag on Thursday June 02, 2016 @06:59PM (#11826851)
Why hard links over symlinks?
Re:Why is a Rust executable large? by hueving on Friday June 03, 2016 @01:10AM (#11828451)
So someone doesn't unlink the main binary when they are cutting unused utils to save space.