Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Programming

Submission + - Simpler "Hello World" demonstrated in C (ksplice.com)

An anonymous reader writes: Wondering where all that bloat comes from so even the classic "Hello world" now takes 11k? An MIT programmer decided to make a Linux C program so simple, she could explain every byte of the assembly. She found gcc was including libc even when you don't ask for it, and 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!
Space

A Hyper-Velocity Impact In the Asteroid Belt? 114

astroengine writes "Astronomers have spotted something rather odd in the asteroid belt. It looks like a comet, but it's got a circular orbit, similar to an asteroid. Whether it's an asteroid or a comet, it has a long, comet-like tail, suggesting something is being vented into space. Some experts think it could be a very rare comet/asteroid hybrid being heated by the sun, but there's an even more exciting possibility: It could be the first ever observation of two asteroids colliding in the asteroid belt."
Image

Police Called Over 11-Year-Old's Science Project 687

garg0yle writes "Police in San Diego were called to investigate an 11-year-old's science project, consisting of 'a motion detector made out of an empty Gatorade bottle and some electronics,' after the vice-principal came to the conclusion that it was a bomb. Charges aren't being laid against the youth, but it's being recommended that he and his family 'get counseling.' Apparently, the student violated school policies — I'm assuming these are policies against having any kind of independent thought?"

Slashdot Top Deals

Never test for an error condition you don't know how to handle. -- Steinbach

Working...