The Winners Of The 2025 Obfuscated C Code Contest

One of the most exciting challenges available to any software developer is that of writing brilliantly working code that’s so obtuse, so indecipherable, and opaque, that even its own author would struggle to grasp its inner workings after returning to it a year later. While for some this is just how they naturally write code, for others it’s part of the International Obfuscated C Coding Challenge (IOCCC), with 2025’s entrants once again showing their mettle.

The IOCCC judges entries among a range of categories, as it can be hard to otherwise quantify what is the ‘best’ entry, with ground rules limiting what the entry can entail. Generally as long as your code adheres to the C11 standard with a source size of 4,993 bytes or less and final binary size of under 2,503, is accompanied by a GNU-style Makefile and doesn’t turn a judge’s computer into a raging inferno — it should qualify.

Among the winning entries we got fun ones like ‘Most likely to shock’ by [Yusuke Endoh] which generates a Lichtenberg figure in ASCII in the terminal. There are also quite practical ones, such as the ‘Best real emulator’ winner by [Nick Craig-Wood], whose entry is a functional Game Boy emulator. Although not full-featured, it can play a range of real GB ROMs, just do not expect to get any sounds or fancy terminal-based graphics.

12 thoughts on “The Winners Of The 2025 Obfuscated C Code Contest

  1. Wryly observing that the type of person who can parse those rules is just the type of person to write obfuscated code. Call it a preselector, I suppose.

    Reminds me of the fun Beagle Brothers 2-line code contests for the Apple ][

  2. Shrounded C was the original way of distributing non-open source applications for UNIX. A utility took the normal source and rendered it unreadable (or, at least, “a challenge to read”).

  3. I’m not sure the artwork of the story summary depicting someone with their head shoved into an access hatch is quite accurate. I believe the access hatch is incorrectly drawn 180 degrees from its correct position….

    1. It is quite amazing to see that and I did like the lightning bolt shape of the other one.

      Some of the closed GitHub issues show remarkable restraint too. Code to this level in so few bytes are absolutely ‘things of wonder’.

  4. doesn’t turn a judge’s computer into a raging inferno

    Code that compiles to HCF in a non-obvious way should definitely be allowed. Bonus if you trigger the HCF bug/feature in the judge’s compiler rather than having it exist in your own compiled code.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.