Smallest Possible ELF Executable? 460
taviso writes "I recently stumbled across this paper (google cache), where the author investigates the smallest possible ELF executable on linux, some interesting stuff, and well worth a read. The author concludes, 'every single byte in this executable file can be accounted for and justified. How many executables have you created lately that you can say that about?'
Not good enough (Score:5, Funny)
smallest elf execution (Score:5, Funny)
You disgust me... (Score:5, Funny)
If you guys go ahead with your cold-hearted plan to execute this elf, the Olsen twins better watch their backs next time they're in Ireland, if you catch my drift.
good, bloat sucks (Score:3, Funny)
I feel guilty (Score:5, Funny)
Smallest Posible Post (Score:5, Funny)
Bloat...now a worldwide concept! (Score:4, Funny)
67% of Americans are overweight. They can't account for most of the bites they use. By developing software that is just as bloated, the users feel good about themselves.
This kind of skinny programming is very insensitive to the fatass society we Americans live in! Hopefully the U.S. Congress hears of this soon, so that they may legislate this kind of software right off the face of the earth.
Masque, head of the Sensitive Programming Foundation*
[*A division of Maxtor Corporation; come check out our new 320GB drives, featuring room for tomorrow's applications...today.]
justification (Score:5, Funny)
The author's sanity, however, cannot.
Re:Small virus catcher (for DOS) (Score:2, Funny)
Of course this AV avoidance didn't work, as evidenced by the fact that viruses are now extinct and a footnote in the history of computer security.
Re:I feel guilty (Score:3, Funny)
Re: smallest elf execution (Score:5, Funny)
> I just heard the news on slashdot -- Frodo Baggins, the smallest elf, was just executed! No other details were available.
In my own research I have discovered that the average Hobbit executable is barely half the size of the average Elf executable.
They're faster to run in a tight spot, too!
Re:Smallest Posible Post (Score:5, Funny)
Re:You disgust me... (Score:3, Funny)
Of course shortly thereafter... (Score:3, Funny)
linuxdoc.org
Chapter 11
Verse 35
ii (Score:2, Funny)
Re:smallest elf execution (Score:5, Funny)
Unfortunately, the article was incorrect then. Frodo is a hobbit. Furthermore, he is far from the smallest hobbit.
However, he was executed. By two elves. By way of trampling.
Does that mean we can assume that ELF binaries run on Hobbits [microprocessor.sscc.ru]?
(Sorry, I couldn't resist.)
Re:Not good enough (Score:5, Funny)
proccessing in today's world (Score:5, Funny)
Could be used to make "true" smaller. (Score:3, Funny)
$ wc -c
9752
That's thousands of extra bytes - eek.
Re:good, bloat sucks (Score:3, Funny)
So don't expect me to do anything about it.
Re:Not good enough (Score:5, Funny)
Weird... I read that as "aibophobia", and thought it was the fear of electronic pets.
Any program can be written using one less byte (Score:3, Funny)
In fact, just apply this fact iteratively and you'll find that any program can be written in zero bytes!
auuugh! (Score:3, Funny)
Re:Any program can be written using one less byte (Score:2, Funny)
hence, we can deduce that *all programs can be reduced to a single byte... which won't work!*
Tiny Programs that Suck Memory (Score:2, Funny)
Re:smallest elf execution (Score:2, Funny)
Re:I feel guilty (Score:3, Funny)
Re:smallest elf execution (Score:5, Funny)
No. Trolls are completely different creatures from hobbits and elves.
Yes, yes. We all know Frodo was a hobbit. . . (Score:3, Funny)
Rumors of his being a fairy persist, however.
KFG
Re:Linux zealots. (Score:2, Funny)
-Kevin
Job Security (Score:2, Funny)
26 bytes (Score:4, Funny)
$ cat >a.pl
./a.pl
#!/usr/bin/perl
exit(42);
$ chmod +x a.pl
$
$ echo $?
42
$ ls -l a.pl
-rwxr-xr-x 1 bcrowell bcrowell 26 Oct 19 12:41 a.pl
Only takes up 26 bytes on my hard disk!
Re:No need to be smaller than 512 really... (Score:5, Funny)
This should really be added to the Linux Gay Conspiracy.
Re:Excellent troll! (Score:3, Funny)
Re:Even smaller (Score:3, Funny)
w
Yes, a single character.
Actually, a zero-byte file will work as well. Granted, it doesn't do much. But at least it is guaranteed to be bug-free.
But wait a minute... (Score:2, Funny)
What about emacs executables ? (Score:3, Funny)
Re:Any program can be written using one less byte (Score:2, Funny)
Any program can have at least one reduncdant byte removed or optimized away and still function
Actually, I believe it is this:
Axioms:
From this, we can conclude that any program can be written as one byte that doesn't work.
O'Reilly True In Nutshell book (Score:2, Funny)
True in a Nutshell [miketaylor.org.uk]
Re:Turbo Pascal (Score:3, Funny)
4 bytes. Hmph.