A Competition for Unreadable Code?

  Рет қаралды 131,596

LaurieWired

LaurieWired

Күн бұрын

Let's explore the winning submissions of The International Obfuscated C Code contest! Held every year, the IOCCC is a celebration of the syntactical quirks and unique features of C, encouraging submitters to create the most unreadable and unique code possible.
In this video, you'll also learn how to quickly deobfuscate IOCCC submissions using various reverse-engineering tricks, turning the indecipherable syntax into something more human-understandable.
---
IOCCC website: www.ioccc.org/
---
Timestamps:
00:00 Unique C features
03:05 Demangling a Death Star
06:45 A Reverse Engineer's Secret Weapon
07:59 Crazy Time
09:44 An interesting Grid
---
LaurieWired Socials:
linktr.ee/lauriewired
---
Intro Music Courtesy of Analog Summer:
• Velocity Rush by Analo...

Пікірлер: 316
@OhhCrapGuy
@OhhCrapGuy Ай бұрын
I'm a little sad she didn't mention the most coveted prize in the contest, "Best Abuse of the Rules", usually awarded when someone finds a way to so horrifically abuse the rules that they have to be changed going forward. In 1994, "smr" submitted the smallest self-reproducing program, a program that, when executed, outputs it's own source code. He achieved this by creating a source file, the only source file in the submission, which was 0 bytes long. Exactly 0 bytes. It was empty. However, due to clever abuse of the Makefile, the compiler still output an executable. An empty one. What did it do? Nothing. It just instantly exited. But it's output of absolutely nothing was technically all of his source code.
@kxmode
@kxmode Ай бұрын
If Seinfeld was a programmer
@OhhCrapGuy
@OhhCrapGuy Ай бұрын
@@kxmode not entirely sure how this implicates smr in being weirdly into concerningly young teenager girls, but sure, alright.
@girlswithgames
@girlswithgames Ай бұрын
do you have a link to this? would love to know what he did in the makefile lol
@SDRicky
@SDRicky Ай бұрын
Her voice is sweeter than honey 🍯.
@kxmode
@kxmode Ай бұрын
@@OhhCrapGuy Seinfield was known for episodes about nothing.
@ersetzbar.
@ersetzbar. Ай бұрын
I had a coworker who did a novel way of sorting his code... he ordered them by string length, making his code look like a christmas tree... in production
@mountainsmakemehorny
@mountainsmakemehorny Ай бұрын
Did it look pretty?
@EpicNicks
@EpicNicks Ай бұрын
@@mountainsmakemehorny asking the important questions
@liquidsonly
@liquidsonly Ай бұрын
I approve.
@denilsonwerling1660
@denilsonwerling1660 Ай бұрын
This is so funny, definitely going to mention it to my coworkers. It seems coding that sort of program, is the right order to deliver the joke!
@vizualyse
@vizualyse Ай бұрын
One could say, your coworker did it in a "Noël" way...
@soyasuki4531
@soyasuki4531 Ай бұрын
"Obfuscated Code" - Or as my predecessor called it "Production Code".
@switchi8663
@switchi8663 Ай бұрын
this cracked me up man good job
@n.-_
@n.-_ Ай бұрын
the cobol experience
@gagongtarantado
@gagongtarantado Ай бұрын
😂
@TomS699
@TomS699 Ай бұрын
My college professor won this 2 times. He loved talking about it
@ammdres
@ammdres Ай бұрын
Do you have the links to his submissions? I would love to see them
@plaintext7288
@plaintext7288 28 күн бұрын
@ammdres Me too
@ninocraft1
@ninocraft1 28 күн бұрын
i would also boast about this, what an achievement 😂❤
@TheKhalamar
@TheKhalamar Ай бұрын
They have the opposite contest for Perl. The goal is to write code that people can actually understand.
@everyhandletaken
@everyhandletaken 10 күн бұрын
It's been running 30 years & still yet to have a winner? 😅
@victotronics
@victotronics 10 күн бұрын
Oooo Burn!
@aniksamiurrahman6365
@aniksamiurrahman6365 Ай бұрын
From now onward, I'll end of my main() functions as "piss out".
@vicsar
@vicsar Ай бұрын
I dare you.
@zaper2904
@zaper2904 Ай бұрын
change it to piss off instead.
@oconsertador9021
@oconsertador9021 Ай бұрын
Could you put "fuck you", instead?
@yascilisaowsyj8636
@yascilisaowsyj8636 Ай бұрын
piss be upon you
@astropgn
@astropgn Ай бұрын
Oh, I didn't know I could submit all of my code to the IOCCC. My files look so bad, I am probably a great contender.
@godnyx117
@godnyx117 Ай бұрын
Oh boy, you won't imagine! There is ALWAYS someone more crazy...
@ABCABC-sw8mh
@ABCABC-sw8mh Ай бұрын
😂
@ABCABC-sw8mh
@ABCABC-sw8mh Ай бұрын
My code: } ;0 nruter {)(niam tni
@kyuuketsukikun420
@kyuuketsukikun420 25 күн бұрын
"my code is self obfuscating"
@ares395
@ares395 21 күн бұрын
The aesthetic of this video reminds me of some 2000s computer gaming news etc. program that you randomly stumble upon while watching TV and never find it again.
@tritoner1221
@tritoner1221 16 күн бұрын
The intro graphic is from Serial Experiments Lain. The general presentation of the video is also reminiscent of the show's unique style.
@jnharton
@jnharton 9 күн бұрын
It's literally imitating the interface from Mac OS 8, 9.
@ares395
@ares395 9 күн бұрын
@@jnharton Bold of you to assume I've ever seen Mac OS 8, 9.
@kadse417
@kadse417 Ай бұрын
Just write it in C++ - obfuscation enough.
@mjthebest7294
@mjthebest7294 Ай бұрын
L M A O
@lofl6968
@lofl6968 Ай бұрын
yeah, but you become desensitized... after like 10-15 years anyway
@ThisShitWontWor
@ThisShitWontWor 22 күн бұрын
Nah rust is way more unreadable than c++
@MrBarberousse
@MrBarberousse Ай бұрын
The creator of Perl, Larry Wall won 2 prizes in the IOCCC. His initials are LW just like Laurie Wired. Coincidence? Who knows!
@Turalcar
@Turalcar 21 күн бұрын
Did you ever see them in the same room?
@MrStarTraveler
@MrStarTraveler Ай бұрын
The "peace out;" got me rolling on the floor! XD
@mohammedgoder
@mohammedgoder Ай бұрын
#include "cstdio" #define ever (;;) int main() { for ever printf("no. just no."); }
@MrStarTraveler
@MrStarTraveler Ай бұрын
@@mohammedgoder Rofl 🤣
@ayonsamajder
@ayonsamajder Ай бұрын
indeed programming is an art
@illegalsmirf
@illegalsmirf Ай бұрын
more like a fart
@john.dough.
@john.dough. Ай бұрын
I love the aesthetic of your videos, combined with your clear expertise and knowledge. Thanks for sharing! :]
@vicsar
@vicsar Ай бұрын
Yeah, no doubt. Do what you enjoy, for sure. Respect!
@fios4528
@fios4528 Ай бұрын
I'm really curious how much time the set design took
@fios4528
@fios4528 Ай бұрын
I'm genuinely floored by the production quality of these videos and your ability to communicate so effectively
@trevorkirby3781
@trevorkirby3781 Ай бұрын
Glad to see the obfuscated c competition is still going. My favourite was always the love letter exchange.
@ChefScottSUP
@ChefScottSUP Ай бұрын
Hey Laurie, your exploration of unreadable code is fascinating! Keep inspiring us with your insights and discoveries. 🚀
@kiwi84
@kiwi84 29 күн бұрын
I’ve been falling out of computer science for a while now cause of college burnout but your videos have relit my computer science flame! Its crazy the difference that good presentation and teaching can make. Keep up the great work 😃
@Guidoev2
@Guidoev2 25 күн бұрын
I've only watched the first 30 secs of your video and I'm already convinced you deserve more views and subscribers than you already get!! Just love the aesthethics and the vibe!!
@internetplumber
@internetplumber Ай бұрын
Hah, good to see this, I was thinking of the IOCCC whilst watching the Asuka Roasts video the other day...
@hekero
@hekero 23 күн бұрын
I LOOOOVE the channel graphics and branding. Awesome!
@Mustachioed_Mollusk
@Mustachioed_Mollusk 23 күн бұрын
Im in love, seems like there are so many high quality channels lately!
@Kris-qn4bn
@Kris-qn4bn Ай бұрын
Amazing video idea, with amazing video quality! Thank you for your work!
@agg5324
@agg5324 29 күн бұрын
I love the vibe of this channel
@brawldude2656
@brawldude2656 22 күн бұрын
I'm in love with this competition
@PirateDion
@PirateDion 22 күн бұрын
What a odd gem to find for a subject I know little about but I'm interested in learning. You made a video of code compelling enough to watch with a nice thematic style of old school computer interfacing. Looking forward to more. Subscribed :).
@svenvandevelde1
@svenvandevelde1 Ай бұрын
Thank you for sharing this interesting subject.
@mytechnotalent
@mytechnotalent Ай бұрын
It is interesting how the macro looks so much more readable after you reformatted w/o \. Nice Job Laurie.
@maxmustermann5590
@maxmustermann5590 29 күн бұрын
How have I never found this channel before. Love the content!!
@delibellus
@delibellus Ай бұрын
Awesome content as always!
@ammdres
@ammdres Ай бұрын
I love so much the style of your videoss and also your setup
@DavidLindes
@DavidLindes Ай бұрын
Ahh, chongo strikes again! (Landon Curt Noll, usual username chongo, one of the founders of this, is someone I used to work with. Fun guy to interact with. And he did good by creating this, IMHO.) Thanks for exploring it a bit and sharing it with new audiences!
@kristenmgr
@kristenmgr Ай бұрын
That intro was the final straw !!! I'm subscribing !!!
@saikat93ify
@saikat93ify 28 күн бұрын
Wow, great video. I learnt something new. I participate in contests avidly and did not know about this.
@MrAminmohamed
@MrAminmohamed 27 күн бұрын
Do you think you can code a perceptron using assembly or even a old language like basic or turbo Pascal ?
@ing32
@ing32 10 күн бұрын
love the quality!
@KarlaKloppstock
@KarlaKloppstock Ай бұрын
This is awesome, thanks Laurie! Good thing that one can make C code unreadable, while for few other languages that's the default.
@AccurateBurn
@AccurateBurn Ай бұрын
great video laurie, super interesting topic
@willitine
@willitine Ай бұрын
Hi Laurie. Wow I love how you popped out from opening a app on the desktop! That’s pretty cool. For whatever reason the theme of you speaking like that in a pc window reminds me of Back to the Future The Ride when I was little. Awesome vibes! Anyhow interesting video. I’m gonna watch it now. Hope you are having a great day.
@joseph-montanez
@joseph-montanez Ай бұрын
"This makes C a great candidate for creating some really unreadable code" - Flashbacks of Coldfusion from Adobe
@devinlauderdale9635
@devinlauderdale9635 Ай бұрын
Laurie, where do you get that windows xp era theme from???
@jeffandonuts3945
@jeffandonuts3945 25 күн бұрын
F-ing wonderful find this channel has been - G bless you Laurie
@fridje
@fridje Ай бұрын
Can you do an asuka rates your obfuscated code competition
@dominikb1284
@dominikb1284 Ай бұрын
based
@OneEyedJack1970
@OneEyedJack1970 Ай бұрын
I almost lost my mind trying to decipher what in the hell temple of apshai was doing. This was back when I was 15 or 16 and trying to transfer my copy from cassette to disk. I got most of it to disk, but still had to load the fonts and levels from the tape drive.
@plaidchuck
@plaidchuck 5 күн бұрын
Hey Laurie based on your LinkedIn you've only been out of school a few years yet have some insane comp sci knowledge. Aside from internships and your current role how much experience did you have with code/computers before going to college? Did you learn the bulk that you know from college. Just an old head looking to get into programming. Teach us young grasshopper!
@shanehebert396
@shanehebert396 Ай бұрын
I worked with a guy who won in one of the IOCCC categories way back in the day.
@henrycgs
@henrycgs Ай бұрын
I remember having loads of fun with the preprocessor back in the day. I made a header file that turned C extremely verbose and told a friend that was just how it looked like
@stacksmasherninja7266
@stacksmasherninja7266 Ай бұрын
these were great examples! if you wish to continue this series and want to take a look at more submissions, I highly recommend Nicholas Carlni's submission for tic tac toe! a video on obfuscating your code to look cool would also be great :) super happy to see ioccc here
@geralde.5724
@geralde.5724 Ай бұрын
But what if you debugged it 🤔 would it get confused what line to highlight?
@BlueIsLeet
@BlueIsLeet Ай бұрын
6:10 idk if that's a 'fix', looks like it's a directive only meant to run on Win32 devices (from the ifdef), and it patches main to work on windows properly
@denovo3949
@denovo3949 Ай бұрын
Love the background of your computer screen!
@Ayelis
@Ayelis 17 күн бұрын
Enjoying the Lain imagery in the intro! :3
@davidomar742
@davidomar742 Ай бұрын
don't wanna know what kind of hallucinogenic drugs you got to be on to do this type of programming lol
@MrBoko1234
@MrBoko1234 Ай бұрын
the gameplay at the end caught me off guard lmao, great vid
@Slycooper2456
@Slycooper2456 Ай бұрын
She streamed Burnout Paradise last Saturday it has so many hilarious moments, its on her Twitch channel.
@andymitchell2146
@andymitchell2146 28 күн бұрын
I've been training for this all my life without knowing!
@danielpintard7382
@danielpintard7382 Ай бұрын
obsessed with the lain aesthetic, one of my favorite anime of all time and was a catalyst in developing my interest in computer science
@victotronics
@victotronics 10 күн бұрын
Finally some respect for bad coding! No seriously, I've been following this for decades. It's mindblowing.
@patrick1020000
@patrick1020000 Ай бұрын
The Underhanded C Competition is also interesting, though it looks like it is no longer held
@TarasZakharchenko
@TarasZakharchenko Ай бұрын
Great OS of your choice!
@052Ryder
@052Ryder Ай бұрын
I legit came across live game code that did the following: #define f*** return #define sh** ; It was a cpp file that contained many methods returning pointers to 'this'. Fun times. P.S. You are a gift to the engineering world Laurie
@BurstingVeins1
@BurstingVeins1 Ай бұрын
I never realized that doing code in that way could be a thing, but then just looking at that code is driving my hyper efficient coding OCD insane.
@jawad9757
@jawad9757 Ай бұрын
I love [ab]using C macros as if they're C++ templates
@ruslankudriachenko5673
@ruslankudriachenko5673 Ай бұрын
Really cool video. The code is madness :)
@hydrogen5087
@hydrogen5087 Ай бұрын
How do I get that task bar? Please help!
@tenv
@tenv Ай бұрын
Great videos! It's so satifying to see you clean up and decipher stuff like this. You should consider ricing your desktop to go with the rest of your video aestetic, on Linux I'm sure there must be some DE that can recreate the kinds of faux-windows you have for your intro/webcam.
@Vancer876
@Vancer876 26 күн бұрын
Yeah I was wondering why she uses windows
@rlyneedthephoneJimmy
@rlyneedthephoneJimmy 9 күн бұрын
After watching One short of yours I was pissed at you, but I wanted to give you a Chance and I watched this video. You've impressed me , and I love the way you speak your voice is calming and it makes enjoyable to watch your videos so now I just have to subscribe 😅❤❤ Greetings from Poland, Laurie 🎉❤
@emmettdja
@emmettdja 24 күн бұрын
that clock program was insane
@PointEndClick
@PointEndClick Ай бұрын
This video is awesome.
@anon_y_mousse
@anon_y_mousse 21 күн бұрын
My favorite is still Banks' entry from 1998. Shaped like an airplane and it's a primitive flight sim. Although, not all of the entries will still compile on modern computers. Take for instance some of the older ones that did code injection on PDP's and the like.
@sinistar3198
@sinistar3198 Ай бұрын
What if someone built one of these around taking as long as possible to manually set up for most autoformatters?
@filker0
@filker0 16 күн бұрын
I used to enter the obfuscated C competition back in the 1980s. I never came close to winning, but I did my worst, which is all that can be reasonably expected. There are better tools for unubfusticating the contest entries. "indent", "astyle", and other source code reformatting utilities, "cpp" for doing macro expansion, "m4" and "awk" round out the toolkit. Around 1989-1990 I wrote a C code obfusticator and posted it to alt.sources. Unfortunately, it didn't handle ANSI C function prototypes and used semantic dirty tricks that are not portable across pre-ANSI compilers and in places conflict with ANSI additions to the C language grammar.
@maximeduvaut1389
@maximeduvaut1389 26 күн бұрын
Your keyboard sounds great !
@c0p0n
@c0p0n Ай бұрын
There are no perl obfuscated code competitions because that'd be stating the obvious
@nunnukanunnukalailailai1767
@nunnukanunnukalailailai1767 27 күн бұрын
In the industry thats called job security smh
@stighemmer
@stighemmer 21 күн бұрын
Actually there was an obfuscated perl contest.
@c0p0n
@c0p0n 21 күн бұрын
@@stighemmer but nobody could find it
@heisthazey7311
@heisthazey7311 Ай бұрын
good work on the editing as of late - the transitions between content and animation have gotten much faster and it feels very tight. I really enjoy the production value of your channel ty!
@alastairkmbarron6154
@alastairkmbarron6154 26 күн бұрын
fantastic video theming this is so cool
@prima_ballerina
@prima_ballerina Ай бұрын
05:26 : It's not a good a idea to replace a #define macro within the code which is part of an #ifdef statement.
@Mathsky4
@Mathsky4 18 күн бұрын
Hey Laurie.. it will be great if you can do "C programming" tutorial. I know there are tons of tutorials out there but your teaching capabilities are extremely good. If you have time plz consider.
@yanikb.1312
@yanikb.1312 Ай бұрын
Title: unreadable code competition Me: oh boy sounds like the IOCCC
@JohannesDavidsen2024
@JohannesDavidsen2024 Ай бұрын
That's cool snake, very nice 👍
@Yupppi
@Yupppi 28 күн бұрын
Very cool. Reminds me of figuring out what malware does, saw Low Level Learning do some of that cybersecurity challenge stuff. Also the circle code was quite aesthetic. I'd guess nvim to be one of the easier text editors to start fixing the visual look of the code and the #defines, otherwise it'd feel like a bit of a mess. The nvim plugins that follow common style for the language also helping out. These are probably the best ways to make your coworkers mad or get fired.
@Nekro9000
@Nekro9000 Ай бұрын
this has to be the most insane glow up i've ever seen
@SagarBediOfficial
@SagarBediOfficial 29 күн бұрын
@lauriewired Song name / opening sound / bgm name ?
@miss_nainuu
@miss_nainuu Ай бұрын
Nice new look😁
@user-pj9vw8ic3v
@user-pj9vw8ic3v 26 күн бұрын
I love SkiFree, and Chip's Challenge. all of the Microsoft games pack games were great
@NewLondonMarshall
@NewLondonMarshall Ай бұрын
I love your channel :)
@chris11d7
@chris11d7 8 күн бұрын
I like how your office is a giant radiation oven
@vk3fbab
@vk3fbab Ай бұрын
Are these programs or applications? I would have said programs. Is there a difference between a program and an application?
@CowOpening
@CowOpening 20 күн бұрын
Laurie you are a god!!! :)
@sheykenasababy
@sheykenasababy Ай бұрын
This channel's became one of my favorites after 2 videos. I'd pay for this content.
@MrHaggyy
@MrHaggyy Ай бұрын
If you want a medal from your coworkers for best code ever just pack every function and data object in one giant void array and cast it in the program as needed. There is a time for this when you change hardware configs at runtime with full bandwidth read/writes but other than that ...
@chrishabgood8900
@chrishabgood8900 26 күн бұрын
do you need M() and also M(){...} ?
@yayz_
@yayz_ 20 күн бұрын
As someone new to C "This is starting to look like a real C program" made me laugh and then cry.
@eribrin650
@eribrin650 25 күн бұрын
the style of your videos id so fucking cool!!
@MegaMech
@MegaMech 29 күн бұрын
You can sort of skip all of this by printing the preprocessor output to the console. If you want to see really unreadable code check out mk64 decomp.
@easyelectronics4364
@easyelectronics4364 Ай бұрын
People out there are really insane 😮
@samuelschwager
@samuelschwager Ай бұрын
there is also the underhanded c contest
@Vancer876
@Vancer876 26 күн бұрын
Best cs channel
@deepanshurajvanshgautam8048
@deepanshurajvanshgautam8048 11 күн бұрын
why is it oddly satisfying to watch you talking over full screen.? anyone...
@JonathanZigler
@JonathanZigler Ай бұрын
I liked the pixel art Ein.
@marcelmavgames5189
@marcelmavgames5189 5 күн бұрын
holy shit lain
@fallinginthed33p
@fallinginthed33p Ай бұрын
The demo scene back in the day produced insane graphics directly using assembly. Now code optimization is used for malware 😅
What ACTUALLY happens during a Stack Overflow?
12:43
LaurieWired
Рет қаралды 120 М.
How to count in binary
6:14
Trevor Storr
Рет қаралды 330 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 566 М.
COMPUTER SCIENCE explained in 17 Minutes
16:49
Wacky Science
Рет қаралды 287 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 478 М.
i cant stop thinking about this exploit
8:40
Low Level Learning
Рет қаралды 326 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 854 М.
My programming language
0:25
MGAMES!
Рет қаралды 68 М.
Most Popular Programming Languages 1965 - 2022
6:47
Data Is Beautiful
Рет қаралды 1,5 МЛН
Laravel's secret weapon: macros (watch me code)
23:46
Aaron Francis
Рет қаралды 16 М.
How Fast can Python Parse 1 Billion Rows of Data?
16:31
Doug Mercer
Рет қаралды 147 М.
Interview with Senior Rust Developer in 2023
9:46
Programmers are also human
Рет қаралды 626 М.
Arbitrary Code Execution in Animal Crossing
24:22
Hunter R.
Рет қаралды 226 М.
What percentage of charge is on your phone now? #entertainment
0:14
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
как спасти усилитель?
0:35
KS Customs
Рет қаралды 446 М.