22

Possible Duplicate:
What's the joke in the Stack Overflow 404 page code?

For example:

https://stackoverflow.com/questions/does_not_exist

What is the code on the right pane, and if it is a real language, what does it do exactly?

marked as duplicate by Pops, ale, Toon Krijthe, yhw42, jonsca Sep 8 '12 at 5:58

This question was marked as an exact duplicate of an existing question.

migrated from stackoverflow.com Feb 4 '10 at 9:53

This question came from our site for professional and enthusiast programmers.

  • 1
    I should point out, I can work out it is printing 404, but what's all the other code doing? – Finglas Feb 4 '10 at 9:47
  • This. Is. C. Obfuscated. – dirkgently Feb 4 '10 at 9:50
22

It's polyglot code - that is code that will compile unaltered in more than one language, all of which write 404 to stdout.

I can spot at least

  • C
  • Brainfuck
  • Multitude of scripting languages (Python, Perl, ...)

See Amusing 404 "Page Not Found" Images for Trilogy sites?

6

I think it was created on Meta : Amusing 404 "Page Not Found" Images for Trilogy sites? and is not a specific language, but multiple.

2

It looks like a mixture of obsfucated C and Brainfuck.

2

Fancy and esoteric ways of printing '404'

2

I know line three is Brainfuck. Go figure out what it does :-)

Not the answer you're looking for? Browse other questions tagged .