20th IOCCC Source Code Released
An anonymous reader writes "The 20th International Obfuscated C Code Contest apparently has the turbo button pressed, as the source code has been published in only two months, versus almost four years of the 19th contest. As we discussed in February, the judges' verdicts are in: the Best of Show entry comes from Don Yang with a program containing more programs. Some other entries winning this year are a text raytracer (used this year in IOCCC logo), a MOD player, a X11-based dual player tank shooter and a bouncing ball (Amiga-style) with ANSI escape sequences. Remember that every IOCCC entry has a limit of 4 kilobytes, so indeed every one is pretty impresive."
The link to the winners and descriptions is, http://www.ioccc.org/2011/whowon.html
I eat poop.
This is about C coding.
Relating your experience coding Java is irrelevant.
Your age is showing...
Yes, kids, PCs used to have turbo buttons.
I always thought that the Underhanded C Contest was better. Rather than making the code hard to read or doing the odd layout, I think it is better to show people that malicious things can be hidden in even the most readable code. People always worry about malice hidden in the long unreadable stuff, but can you find the problem in this?
This sure is a nice catchy headline.
Loading this very page caused a 503 Guru meditaion for me....
If slashdot cannot handle the load of this topic, I don't even THINK of clicking TFA...
The true obfuscation is that Chrome will not display .c files, but forces you to save it.
Then, if you open it in Notepad, it will show it all as one line, so you can't see whats going on.
Pure genius.
My favorite is still from 1987 by David Korn. Short, sweet, not arranged in a silly picture, not obscure due to lack of indenting or white space, and seems to exemplify the spirit of obfuscated C. Though it does have portability issues and intended for older compilers (try to figure out before compiling as compiler messages will give a huge hint).
main() { printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}
I've always been tempted to give this as a question during interviews.
You need to use an Ofuscated-C compiler. I would settle for Avenger Assembler though.
"I think this line is mostly filler"
I waited over five years to submit my entry, after missing the last contest announcement, but alas, it didn't win. I thought it deserved better, so I at least wrote up a little thing about it: http://computronium.org/ioccc.html Can you figure out HOW it computes prime numbers?