Better than brainfuck.

Talk about computers, hardware, applications, and consumer electronics.
User avatar
Global Mod
Global Mod
Posts: 1416
Joined: 2008.09.26 (05:35)
NUMA Profile: http://nmaps.net/user/scythe33
MBTI Type: ENTP
Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Postby scythe » 2009.10.02 (21:39)

http://www.reddit.com/r/programming/com ... ge/c0dwjsn

^_^ O_o >_> -_- <_< ^_^ >_> o_O <_<
As soon as we wish to be happier, we are no longer happy.

User avatar
Retrofuturist
Posts: 3131
Joined: 2008.09.19 (06:55)
MBTI Type: ENTP
Location: California, USA
Contact:

Postby t̷s͢uk̕a͡t͜ư » 2009.10.03 (02:02)

There was another translation of Brainfuck called Fuckfuck, which replaced all of the commands with certain four-letter words. It also let you repeat the previous command with an exclamation mark. So you end up getting "Hello World" code that looks like this:

Code: Select all

f**k b**b!!!!!!!! arse s**g boob!!

boob!!!! fuck tits butt shag cock fuck boob!!! 
boob!! arse shag boob!!! fuck tits butt shag boob cock 

        BOOB!!! booBBoob boob cOCK! boob!! cock arsetits 
                           buttfuck boob!!!!!!! arseshag boob!! 
    boobfuck t**s b**ts**g       cockfuck boob!!!! boob!! 
 boob!! arse    shag boob!!! boob!!! fuck tits 

b u t t s h a g t i t s c o c k

	tits!!!!!!! 

	cock boob boob 
                           boobcocktits!!!!! cocktits!!!!! 

			   tits! 
c**kar seti tsb ut tfu ckb ooB!!!!!!! 

arseshagboobboob boobboob fuckTITS buttshag boobcock arsetitsbutt 
BOOB!!!!!!!!! cock
[spoiler="you know i always joked that it would be scary as hell to run into DMX in a dark ally, but secretly when i say 'DMX' i really mean 'Tsukatu'." -kai]"... and when i say 'scary as hell' i really mean 'tight pink shirt'." -kai[/spoiler][/i]
spoiler

Image


User avatar
Albany, New York
Posts: 521
Joined: 2008.09.28 (02:00)
MBTI Type: INTJ
Location: Inner SE Portland, OR
Contact:

Postby jean-luc » 2009.10.03 (17:21)

Malbolge is the best language ever. It's designed not to work, essentially, so making it work is an incredibly complicated process. Malbolge considers instructions that complete successfully to be "guilty", and so it tries to destroy them by encrypting them. Instructions are encrypted using several different rounds, which were determined by reverse-engineering the compiler. Malbolge is reportedly so complicated to write that the first program in Malbolge did not appear until two years after Malbolge's development. Wikipedia notes that the first 99 Bottles of Beer program (99BoB is a common program to demonstrate looping and conditions) did not appear for 8 years.

Another interesting thing about Malbolge is that it wasn't written by a human, it was generated by a Python algorithm. Malbolge also uses a ternary number system (0, 1, 2) rather than binary, hex, or decimal.

for reference, here's Hello World! in Malbolge:

Code: Select all

 ('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
 `CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
-- I might be stupid, but that's a risk we're going to have to take. --
Image
Website! Photography! Robots! Facebook!
The latest computers from Japan can also perform magical operations.

User avatar
Global Mod
Global Mod
Posts: 1416
Joined: 2008.09.26 (05:35)
NUMA Profile: http://nmaps.net/user/scythe33
MBTI Type: ENTP
Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Postby scythe » 2009.10.04 (17:07)

Python? Nah, it was Lisp:
Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp.
http://en.wikipedia.org/wiki/Malbolge
As soon as we wish to be happier, we are no longer happy.

User avatar
Albany, New York
Posts: 521
Joined: 2008.09.28 (02:00)
MBTI Type: INTJ
Location: Inner SE Portland, OR
Contact:

Postby jean-luc » 2009.10.12 (21:57)

scythe33 wrote:Python? Nah, it was Lisp:
Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp.
http://en.wikipedia.org/wiki/Malbolge
Really? That kind of makes it even more disturbing to me. One of these days I should learn functional programming...
-- I might be stupid, but that's a risk we're going to have to take. --
Image
Website! Photography! Robots! Facebook!
The latest computers from Japan can also perform magical operations.

User avatar
Retrofuturist
Posts: 3131
Joined: 2008.09.19 (06:55)
MBTI Type: ENTP
Location: California, USA
Contact:

Postby t̷s͢uk̕a͡t͜ư » 2009.10.13 (01:42)

jean-luc wrote:One of these days I should learn functional programming...
*cough* *sputter*
And you have the gall to presume some sort of actual experience with good programming practice in your defense of PHP?
[spoiler="you know i always joked that it would be scary as hell to run into DMX in a dark ally, but secretly when i say 'DMX' i really mean 'Tsukatu'." -kai]"... and when i say 'scary as hell' i really mean 'tight pink shirt'." -kai[/spoiler][/i]
spoiler

Image


User avatar
Global Mod
Global Mod
Posts: 1416
Joined: 2008.09.26 (05:35)
NUMA Profile: http://nmaps.net/user/scythe33
MBTI Type: ENTP
Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Postby scythe » 2009.10.13 (10:08)

jean-luc wrote:
scythe33 wrote:Python? Nah, it was Lisp:
Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp.
http://en.wikipedia.org/wiki/Malbolge
Really? That kind of makes it even more disturbing to me. One of these days I should learn functional programming...
I recommend J.
As soon as we wish to be happier, we are no longer happy.


Who is online

Users browsing this forum: No registered users and 3 guests