glibc
Posted Nov 3, 2005 4:44 UTC (Thu) by
chant (subscriber, #20286)
Parent article:
All hail the speed demons (O'Reillynet)
Some small part of this may be glibc bloat.
A 10 instruction AMD64 assembly program to
xor a register to 0
increment that register
exit when that register is 0 again
assembled to 731 bytes (not stripped of symbols/tables/etc).
When linked with gcc -static -o <progname> assembly.o
becomes
614,748 bytes.
That is incredible.
(
Log in to post comments)