Skip to content

Instantly share code, notes, and snippets.

@canoon
canoon / q9+
Created May 1, 2012 08:55
Unicode HQ9+ Implementation
#!/usr/bin/env ruby
# coding: utf-8
##
# In HQ9+ Hello world programs were unnecessarily long which caused a
# dramatic waste in space. It is estimated that a massive 4 PB of
# storage space worldwide is used to store "Hello, World!" programs a
# further 2 PB of space is used to store "Hello, World" programs. Q9+
# attempts to solve this problem this problem by making the empty file a
# "Hello World" program. As a result of this a standard 2 TB harddrive