Jump to content

Challenging Programming Languages

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
15 replies to this topic

#1
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
I don't know if anyone cares, but there are some programming languages called esoteric programming languages. They are designed to be a challenge to programmers. I think they are really fun. The most popular ones are Brainfuck and Befunge. I haven't messed with Befunge yet but it looks very cool. Brainfuck was designed to be as easy to compile as possible, and Befunge was designed for the opposite. More information can be found on Wikipedia and esolangs.org. Maybe this can kill some free time.
Example of an infinite loop in Brainfuck:
+[]
Now in Befunge:
>v

^<
Hello World in Brainfuck:
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]

<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.
Now in Befunge:
0"!dlroW ,olleH">:#,_@


#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Thanks for sharing! It may come in handy withing the next couple of hours. :)

#3
Sinipull

Sinipull

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 386 posts
Hmm, guess the only point of this is:
brainPower++;

#4
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
You want a CHALLENGE?!

Write in Malbolge, now that is a challenging language. :) Also, most esoteric language actually aren't designed to be difficult, for example Brainf*** is designed to be a super-minimalistic turing-complete language, difficulty just comes as a tertiary benefit. Malbolge was designed specifically to be ridiculously hard.

I'd be surprised if you could pull of "Hello CodeCall!" in that language.

Edited by ZekeDragon, 24 September 2009 - 09:14 PM.
EDIT: I keep saying "Malborge", it's "MalboLge" >_<

Wow I changed my sig!

#5
asafe

asafe

    Programmer

  • Members
  • PipPipPipPip
  • 107 posts

ZekeDragon said:

You want a CHALLENGE?!

Write in Malborge, now that is a challenging language. :) Also, most esoteric language actually aren't designed to be difficult, for example Brainf*** is designed to be a super-minimalistic turing-complete language, difficulty just comes as a tertiary benefit. Malborge was designed specifically to be ridiculously hard.

I'd be surprised if you could pull of "Hello CodeCall!" in that language.

 ('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"

 `CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>

Yeah, it's odd.

#6
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
If anyone has some interesting programs they made in Brainfuck or Befunge, then please share. I want to see what some expert programmers can make. If you could make the Game of Life or something of equal coolness, that would be so awesome! So far the most complicated thing I have made in Brainfuck is a rot13 encoder/decoder.

#7
brownhead

brownhead

    Programmer

  • Members
  • PipPipPipPip
  • 173 posts
Wow, Malborge does not look at all fun. That's insane.

#8
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts

brownhead said:

Wow, Malborge does not look at all fun. That's insane.

I agree with you on that. Malbolge is just too crazy. I just started messing around with Befunge. Now that is a cool language. It uses data flow with arrows to point where the program is going. You can read about Befunge here. There is also a Javascript interpreter.

#9
Guest

Guest

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,414 posts
I made a factorial program in Befunge :D
v         @.\<    <

0       >+>:!|

>&>:1-:!|    >\: !|

  ^     < ^      *<
Update: I made a random number generator.
It generates 8 digit binary numbers.
v>@

8|!:-1.<

v< >   ^

v>1^

>?0^   

 ^

Edited by Guest, 24 September 2009 - 10:08 PM.
More code


#10
so1i

so1i

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 312 posts
These languages are so cool lol. Really insane to even try and get your head around though. Especially Malebolge!

#11
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
Holy ****! That looks very challenging and worth doing.

#12
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
If I remember correctly, It took 6 or 8 years for the first Malbolge program to show up. And it was just 'Hello World'