Obfuscated C programs: Introduction @Bisqwit
Obfuscated C programs: Introduction  @Bisqwit
Uploaded February 2016 | Updated November 2026, 5 days ago
If you program long enough, eventually you will run into a programming art category called "obfuscated code" or “code golf”. You can find these especially at IOCCC. In this video I introduce the concept and the basic ideas behind such design. More information below (click "Show more").

I realize the category is "obfuscated code", not "small code", but often trying to compress your code into the smallest size will also effectively obfuscate its function. I also realize that some of the individual changes I did in the video did actually _not_ result in smaller program code size, but the opposite. But the end result is still the shortest I could manage, if you remove the "int", the "return", and the space after "include".
Actual obfuscation techniques include using small and meaningless variable names, using unusual syntax constructs, redefining reserved words, adding code that appears to do one thing but does something else (or nothing at all), creating a complex machinery (such as an interpreter) to do a different task, encryption, and so on.

Twitter: twitter.com/RealBisqwit
Patreon: patreon.com/Bisqwit (alternatives at iki.fi/bisqwit/donate.html)
Twitch: twitch.tv/RealBisqwit
Homepage: iki.fi/bisqwit

Source code:
bisqwit.iki.fi/jutut/kuvat/programming_examples/obfuscated

Music:
- Star Ocean :: Encounter :: Motoi Sakuraba (converted into MIDI and played through OPL3 emulation through homebrew software)
- Chrono Cross :: Jellyfish Sea :: Yasunori Mitsuda

Contribute subtitles:
youtube.com/timedtext_video?v=rwOI1biZeD8

I got to use the word "defenestrate"!

#Bisqwit #Programming #ProgrammingPhilosophy #Tutorial #ObfuscatedCode #CProgramming
Obfuscated C programs: IntroductionDecoding a BINK video using libavcodec (remastered)Bisqwit analyses TempleOS & its sole author, Terry A. DavisUr-Quan Masters: No-Starbase Practice Run: UNCUT VERSIONPortal 2 custom map Darkness and LightPortal 2 custom map Darkness and Light (updated)Origin of “Bisqwit”? Married? Font&color theme — Frequently Asked Questions, Part 1/4Portal 2: Extreme Safety Escape ButtonBisqwit Plays: The Talos Principle [4/4] (complete blind 100% all endings)Logic 4: Natural Deduction with Logical Axioms — Tutorial 4/4Castlevania III ※ Cracking VG Passwords S3e2Family   a song made with Scream Tracker 3.2 (composed by Joel Yliluoma)
Bisqwit |

Obfuscated C programs: Introduction

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER