Code Palindromes


Binary code displayed on a screen.

An idle thought on a long weekend. Is it possible to create an executable binary which is a palindrome? It's trivial to create a palindromic program in, say, Python: print("hello") # )"olleh"(tnirp Save that as test.py and then run cat test.py | rev | python3 and it'll work. But that's boring! You could do the same by reversing the bits, rather than the characters: 01110000 01110010 01101001 01101110 01110100 00101000 00100010 01101000 01100101 01101100 01101100…

Continue reading →