Take a close look..
Object 1:
Object 2:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
Object 3:
Now tell me, what is the similarity between 'Object1', 'Object 2' and 'Object 3'?
Turns out they are expressions of the famous 'Hello World' program in different programming languages. Yes, actual runnable programs!!!
First program is written in piet, a language 'in which programs look like abstract paintings'. It is named after Piet Mondrian, who pioneered the field of geometric abstract art. The change in color expresses commands. Like they say, What an Idea...
The second program will appear familiar to programmers. It is written in lolcode, oops.. LOLCODE. It is 'Programming the LOL way'. So the program entertains both you and (presumably) the computer. LOL!!!
And the third is written in a programming language whose link appears in the next paragraph. It has only 8 characters, truly minimalistic!! All I will further add is it lives upto its name, truly...
To know more about these languages, follow these links Piet, LOLCODE, and the third language :-).
There is also a wiki which cites many more esoteric programming languages.
And don't think that these languages are somehow esoteric by design. Here is a familiar example..
int n[]={0x48,0x65,0x6C,0x6C,0x6F,0x2C,0x20,0x77,0x6F,0x72,0x6C,0x64,0x21, 0x0A,0x00},*m=n;
main(n){putchar (*m)!='\0'?main (m++):exit(n++);}
This is 'Hello, World' in C that works with gcc, which most of us use everyday, taken from here.
So what is the lesson here? I like to look at it as a celebration of boundless human creativity. I think the readers will agree..
Object 1:
Object 2:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
Object 3:
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++
.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.
------.--------.>+.>.
Now tell me, what is the similarity between 'Object1', 'Object 2' and 'Object 3'?
Turns out they are expressions of the famous 'Hello World' program in different programming languages. Yes, actual runnable programs!!!
First program is written in piet, a language 'in which programs look like abstract paintings'. It is named after Piet Mondrian, who pioneered the field of geometric abstract art. The change in color expresses commands. Like they say, What an Idea...
The second program will appear familiar to programmers. It is written in lolcode, oops.. LOLCODE. It is 'Programming the LOL way'. So the program entertains both you and (presumably) the computer. LOL!!!
And the third is written in a programming language whose link appears in the next paragraph. It has only 8 characters, truly minimalistic!! All I will further add is it lives upto its name, truly...
To know more about these languages, follow these links Piet, LOLCODE, and the third language :-).
There is also a wiki which cites many more esoteric programming languages.
And don't think that these languages are somehow esoteric by design. Here is a familiar example..
int n[]={0x48,0x65,0x6C,0x6C,0x6F,0x2C,0x20,0x77,0x6F,0x72,0x6C,0x64,0x21, 0x0A,0x00},*m=n;
main(n){putchar (*m)!='\0'?main (m++):exit(n++);}
This is 'Hello, World' in C that works with gcc, which most of us use everyday, taken from here.
So what is the lesson here? I like to look at it as a celebration of boundless human creativity. I think the readers will agree..
4 comments:
Indeed, boundless creativity... really cool...
Cool it indeed is!! Much research is going on to replace our text based programming paradigm with something better, but I somehow still like my green-on-black matrix console...:-D
awesome discovery....
I've specially become a fan of the Third Language
i guess this language has a tremendous future...haha...
me too..
I demand it be included in engg. curricula..
w/o such awesome technology our careers will be paani kam chai..
we want out brain..urr..the third language..:-)
Post a Comment