Content deleted Content added
m DDJ broken (gone); replace by 3rd party archive. |
Add some of the history of Rule 2 evolution. |
||
(One intermediate revision by the same user not shown) | |||
Line 41:
The '''International Obfuscated C Code Contest''' (abbreviated '''IOCCC''') is a [[computer programming]] contest for [[Source code|code]] written in [[C (programming language)|C]] that is the most creatively [[obfuscated code|obfuscated]] and held annually (when possible). It is described as "celebrating [C's] syntactical opaqueness".<ref>{{cite web |url=http://pcworld.co.nz/pcworld/pcw.nsf/how-to/beyond-the-command-line |access-date=2013-04-07 |title=Beyond the command line |work= [[PC World]] New Zealand| last=Palmer| first= Geoff| date=November 1, 2004| publisher= Fairfax Media, Fairfax New Zealand Limited |url-status=dead |archive-url= https://web.archive.org/web/20130210081342/http://pcworld.co.nz/pcworld/pcw.nsf/how-to/beyond-the-command-line |archive-date=February 10, 2013 }}</ref> The winning code for the 28th contest, held in 2024/25, was announced by live stream 2 Aug 2025.<ref>{{cite web |url= https://www.ioccc.org/years.html |title=Previous IOCCC Winners with spoilers |publisher= International Obfuscated C Code Contest | website= IOCCC.org |access-date=2023-05-01}}</ref> Previous contests were held in the years 1984–1996, 1998, 2000, 2001, 2004–2006, 2011–2015, 2018–2020, and 2024.
Entries are evaluated anonymously by the current sitting judges, Leonid A. Broukhis & Landon Curt Noll. The judging process is documented in the competition guidelines<ref
==History==
Line 51:
==Rules==
{{quotebox|text=Hacking the contest rules is a tradition.| author= —Landon Curt Noll, 2011<ref name=SJMerc11 />}}
The
The most significant of the Rules is Rule 2a & 2b (originally Rule 1), gross & net source size limits. During the life time of the contest, Rule 2 has evolved<ref>{{cite web|url=https://www.ioccc.org/faq.html#size_rule_history|title=Rule 2 Eras|publisher=International Obfuscated C Code Contest|website=IOCCC.org}}</ref> to accommodate subtle increases in source size limits. The 1984 contest started with a maximum source size of 512 bytes, which increased a few more times to 1536 bytes in 1991. In 1992, Rule 2 was split to distinguish between maximum overall size and maximum size ignoring white space and semicolons given certain conditions. In the early days, in order to make best use of space allowed, white space was stripped, often resulting in a compact blob of text, making it hard to read by humans, but served little purpose once passed through a C "pretty print" utility, which the judges did as part of their process. In 1992 the judges believed that form of obfuscation had played out and they wanted to encourage people to explore other ways of formatting the code, such as an ASCII image themed after the entry, or simply more traditionally indented C source. Around 2012/2013 the iocccsize(1)<ref>{{cite web|url=https://github.com/SirWumpus/iocccsize#history|title=iocccsize|publisher=Anthony C Howe|website=GitHub.com}}</ref> tool was adopted by the contest and tweaked to aid both contestants and judges apply the Rule 2b counting algorithm.
==Obfuscations employed==
|