Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
1 / 6
3

Pong game recompiles its own source code every frame — winning entry at IOCCC29 was generated by a custom compiler

Reading 0:00
15s threshold

(Image credit: @timClicks via X.com) Jonah Uellenberg won the Ping Pong Prize at the 29th International Obfuscated C Code Contest earlier this month, with a version of Pong that recompiles its own source code on every frame. Each run of the program prints the C source for the next frame, with the current display and game state embedded inside it, so compiling and running that output advances the game by a single step. Somewhat ironically, Uellenberg didn’t write the obfuscated code himself; instead writing clean, commented source in a programming language he built called Insert, whose compiler generated the scrambled C that took the award. Today in cursed code: a computer program that plays pong by modifying its own source code. (Each frame is a new compilation). https://t.co/kS2ACZ7r79 pic.twitter.com/7yIc9tXSdP June 26, 2026 In his entry notes, Uellenberg writes that the winning code “isn't really obfuscated. It never was,” stressing that it’s compiler output rather than anything mangled by hand.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More