Slashdot Mirror


Size Is Everything: Making Tiny ELF Binaries

Milk Toast writes "According to this article one can start with a simple program consisting of 3998 bytes and reduce it down to a mere 45 bytes. Now if they could only reduce the size of my Office install." It involves digging into assembly, naturally, but it's interesting to see the extra code generated not only by the compiler, but by the other steps along the way.

3 of 40 comments (clear)

  1. 2001 called by Anonymous Coward · · Score: 4, Funny

    and they want their "news" back.

  2. It's a duplicate! by david.given · · Score: 3, Informative
    From 2002, no less!

    Man, I've been reading Slashdot way too long.

    (It's still a good article though. Worth rereading if you're at all interested in how ELF binaries work.)

  3. Re:Completely, utterly, useless by Fujamabob · · Score: 3, Insightful

    When you google for ways to fit a program in 512 bytes on the first sector of a floppy, and this is the first article that mentions the options for not using standard include files, etc., it becomes useful.