Winners of the 18th IOCCC
achowe writes "The winners of the 18th International Obfuscated C Code Contest have been announced. This years winners include a 'Commodore PET emulator', 'Sound generation with SDL audio', and a 'Text WWW Browser'."
← Back to Stories (view on slashdot.org)
http://stone.newton.cam.ac.uk/mirrors/IOCCC/www1.u s.ioccc.org/
:-)
:-)
of which lists:
Antarctica
none yet
Africa
none
Asia
none
* Asia Pacific and Australia www.au.ioccc.org - Sydney, Australia (34 0' S 151 0' E)
Europe
* www.es.ioccc.org - Madrid, Spain (40 25' N 3 41' W)
Extraterrestrial
SETI is looking for some sites
* North America www0.us.ioccc.org - Sunnyvale California, US (37 22' N 122 02' W)
* www1.us.ioccc.org - Saint Paul, Minnesota US (44 57' N 93 06' W)
South America
none
Tis better to be silent and thought a fool, than to open your mouth and remove all doubt --Abraham Lincoln
Winners of the 18th IOCCC
Now, I sit back and watch the karma roll in. Right? Please??
"I'm not religious, but at the same time I don't get why science always has to have something to prove."
RTFA. It quite clearly states that the source will be released later this year after the participants have been consulted.
quidquid latine dictum sit altum videtur.
damn you moderators for moding this interesting instead of funny. It would have saved me the 10 minute load time to find out the file is blank. Pretty funny though.
I think Make just gets hung on pondering dependencies or something.
Anyway, the makefile for that entry just does something along the lines of "mv smr.c smr; chmod +x smr". It's an empty file. *NIXes have no problem executing empty files (producing nothing on stdout, so yes, it produces its own source), not sure about Windowses. =)
GCC doesn't seem to like this file - or actually, it *compiles* all right (with -c, it produces an object file with no problems), it just doesn't *link* the executable (undefined reference to `main').
Wikipedia has a pretty good entry on Voronoi diagrams.
And if you check out the image attached to the article, you'll find a remarkably obfuscated and short chunk of code to generate a random Voronoi diagram image. I bet this is the precursor to the winning code submitted to the IOCCC.
This compiles to a program which prints to standard output:
"I think this is what he means"
Well the judges of the IOCCC always make the announcements of the winners first to the public often at some event (this year it was the Vintage Computer Festival), then the judges notify the winners, soon after they send the winners the source tar ball with the judges' write-ups. The winners test the tar ball build process for their code and others, correct any serious mistakes with packaging, provide feedback on the comments, and sometimes they are allowed to correct serious bugs in their entries normally for portability. After that is all done, about a month or so later the the official tar ball is released to the public. As mentioned in the IOCCC annoucement of the winners, they expect to have the tar ball ready for mid-December.