Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×
Programming

Simpler "Hello World" Demonstrated In C 582

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!"

Comment Re:WHATS WRONG WITH THIS? (Score 1) 103

I went through all the posts here and hav no clue how u all made this out frm the biased story. The reporter has mentioned "national security" in double quotes. If a western country had done this then i am sure the news article would have been written differently. Just another instance of double standards. I don't think we should discuss this here and waste our time on it. I don't care for a newspaper site which doesn't even allow me to comment on the story online.

Byte your tongue.

Working...