Hacker News new | ask | show | jobs
by ndotl 1538 days ago
You can even win an IOCCC and be remembered nearly thirty years later: https://github.com/c00kiemon5ter/ioccc-obfuscated-c-contest/...
2 comments

If I recall correctly one of the most popular third party apps first released for the iPhone was a flashlight app that was a blank app with an icon and a name. Slightly more code than any of those under the hood, but I feel the idea is the same.
Straying further from empty-file-ness, but in a similar vein of low-effort apps in the early days of the iPhone was the controversial I Am Rich, which still makes me giggle:

https://en.wikipedia.org/wiki/I_Am_Rich

>I am rich

>I deserv [sic] it

>I am good,

>healthy & successful

This one deserves a mention as well:

> Send Me To Heaven (officially stylized as S.M.T.H.) is an Android application developed by Carrot Pop which measures the vertical distance that a mobile phone is thrown. Players compete against each other by seeking to throw their phones higher than others, often at the risk of damaging their phones.

https://en.wikipedia.org/wiki/Send_Me_To_Heaven

This could be a direct ancestor of NFTs
An NFT way ahead of its time.
While this was clearly an experiment etc, a "I am rich" showing off is still prevalent in most games these days with high ticket in-game purchases. Either of the variant that gives your character or base or whatever an appearance trait, or pay-to-win items that puts you high up on the leaderboards.
I find it ironic that Apple, which is now infamous for 700 dollar computer wheels and 999 dollar display stand, etc, was the party to swiftly ban such an experiment.
https://github.com/c00kiemon5ter/ioccc-obfuscated-c-contest/...

The compilation command line for anyone curious. Clever.

So the participant was in fact allowed to change the compiler command so `gcc` isn't even used...? I had wondered how gcc would compile an empty file.
It was probably an oversight in the rules, as the entry's readme alludes to. They knew that by submitting this, the rules would be amended to be much more strict. Whether that includes requiring a compiler of some sort, I'm not sure. I doubt it - I would imagine the file just has to be 1 or more bytes now.
Gcc is perfectly happy to compile an empty file. But the linker does not find a "main" symbol in its output, so complains.