emoji

head-explode-emoji

Someone figured out how to write functional #DOS programs using only emoji. Including a Mandelbrot generator.

I wouldn’t have guessed this could work if they hadn’t explained it, but the technique is pretty clever: they realized that #emoji code points (each emoji’s unique ID), when translated to raw UTF-8 byte sequences, can also be interpreted as Intel 8088 machine-code instructions. A carefully arranged string of emoji results in a series of bytes that’s both valid UTF-8 text and an executable DOS program. It’s fun to read.

As an example, here’s the program running in my mind right now: 🤯🤯🤯🤯🤯🤯