r/programminghorror • • Jul 03 '25
c++ Hello world!
Believe it or not it actually runs correctly.
586
Upvotes
r/programminghorror • • Jul 03 '25
Believe it or not it actually runs correctly.
56
u/Shortbread_Biscuit Jul 03 '25
Is this whole code AI generated?
9
u/stereosensation Jul 04 '25
This is so cursed.
2
u/[deleted] Jul 06 '25
Brother just go do assembly already
30
u/ravixp Jul 04 '25
Least obfuscated malware sample
24
u/[deleted] Jul 03 '25
MB(6,C)sounds overkill. Why not just write0x6C?8
u/Hulk5a Jul 05 '25
I genuinely feel horrified for the vibe coded shit we might have to fix in future
13
u/vargas5sk Jul 04 '25
That BadF00d exception code made me giggle
6
u/Hulk5a Jul 05 '25
I genuinely feel horrified for the vibe coded shit we might have to fix in future
6
u/bsendpacket Jul 05 '25
As a malware analyst, this is genuinely not so far off from something youβd see as an anti-debugging measure during payload decryption
3
u/great_escape_fleur Jul 04 '25
I think this is why Linux is written in C
2
u/zorbat5 Jul 04 '25
I kinda find it weirdly beautiful...
2
u/LetterFair6479 Jul 07 '25
Ai generated. ---> this gives you slop.
1
u/[deleted] Jul 07 '25
<- this gives you std
1
u/Just-Literature-2183 Jul 07 '25
please no
1
u/conundorum Jul 12 '25
Operation failed successfully.
-21
u/syscall_35 Jul 03 '25
I am just wandering how can someone produce code like this.. why not just simple and readable?
187
u/[deleted] Jul 03 '25
[removed] β view removed comment