Page 1 of 1

Better than brainfuck.

Posted: 2009.10.02 (21:39)
by scythe
http://www.reddit.com/r/programming/com ... ge/c0dwjsn

^_^ O_o >_> -_- <_< ^_^ >_> o_O <_<

Re: Better than brainfuck.

Posted: 2009.10.03 (02:02)
by t̷s͢uk̕a͡t͜ư
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

Re: Better than brainfuck.

Posted: 2009.10.03 (17:21)
by jean-luc
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@>

Re: Better than brainfuck.

Posted: 2009.10.04 (17:07)
by scythe
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

Re: Better than brainfuck.

Posted: 2009.10.12 (21:57)
by jean-luc
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...

Re: Better than brainfuck.

Posted: 2009.10.13 (01:42)
by t̷s͢uk̕a͡t͜ư
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?

Re: Better than brainfuck.

Posted: 2009.10.13 (10:08)
by scythe
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.