Slashdot Mirror


Simpler "Hello World" Demonstrated In C

An anonymous reader writes "Wondering where all that bloat comes from, causing even the classic 'Hello world' to weigh in at 11 KB? An MIT programmer decided to make a Linux C program so simple, she could explain every byte of the assembly. She found that gcc was including libc even when you don't ask for it. The blog shows how to compile a much simpler 'Hello world,' using no libraries at all. This takes me back to the days of programming bare-metal on DOS!"

4 of 582 comments (clear)

  1. 11k Is Too Big? by WrongSizeGlass · · Score: -1, Offtopic

    An 11k app is not going to make me, or my computer, say 'Good Bye World', so I don't know what the big deal is. "Hello World' != 'Good By Compiler'.

  2. Re:BTDT by Anonymous Coward · · Score: -1, Offtopic

    she definitely not a looker. could probably stand to lose a few pounds also.

  3. Re:BTDT by Anonymous Coward · · Score: -1, Offtopic

    i have no idea what is going on

  4. Re:BTDT by Jeoh · · Score: -1, Offtopic

    Java. Faster. Pick one.