Re:Things That Turbo Pascal is Smaller Than
by bryanlarsen on Monday October 31, 2011 @03:22PM
(#3178613)
Yes, most files in /bin are small, but that's because they're dynamically linked to libc, amongst others. I bet you virtually all of them would be larger than Turbo Pascal if statically linked.
The entire MS-DOS 5.0 distribution is around 2.2MB. Norton Utilities is 2,316,176 bytes. For a complex application that uses graphics and fonts, Print Shop is 2,716,489 bytes. The average Flash game is larger these days, although that is largely due to music and bitmaps. Individual files in my /usr/bin that are larger than all of MS-DOS or Norton include python2.7 (2,375,356) mono (2,637,288), gdb (3,888,248), doxygen (5,413,488), and smbclient (6,512,344), and these files are stripped.
Linux kernel modules are still relatively small. Most are under 50k, although mac80211 is 257,001 and i915 is 451,033. The psmouse module is 73,312, almost twice the size of Turbo Pascal to drive my mouse.
Most files in /bin are still small. Turbo Pascal is just barely larger than ed (38,464) and cat (38,484), and is smaller than touch (42,552) on my system as well.
Turbo Pascal is also smaller than the gzipped man file for rsync (49,400), /etc/bash_completion (58,739), the Neko compiler (176,073) and DLL (94,203) for Windows, and GNU cmp for Windows (57,344).