Author Topic: BrainF**k Computer Code  (Read 6347 times)

0 Members and 1 Guest are viewing this topic.

Offline CaseAgainstFaith

  • Pope
  • ****
  • Posts: 418
  • Gender: Male
  • Smartass with a Dunce Hat
BrainF**k Computer Code
« on: February 17, 2012, 11:52:06 am »
Anyone ever know this programming language existed?  Also has anyone programmed in this language before?

BTW this isn't a joke apparently Brainfuck is a real programming language

Brainfuck is an EsotericProgrammingLanguage. As a language, has some very good points:
   Fast learning curve
    Easy syntax
    200 byte compiler
    No trouble finding it on google (unlike with ForthLanguage, unless "put forth" and "go forth" are excluded; very few people say brainfuck in normal non-programming web sites)
        Hmm you might land on some sort of brain fetish site though
    One character per command. Easy to tokenize
    Makes a great learning language :)
    Code reuse is facilitated by an utter lack of variables and subroutines.
    It is TuringComplete, and making a C-to-brainfuck compiler would make your programs very portable in object format.

http://esoteric.sange.fi/brainfuck/ -- an archive of implementations, programs, and IDE's for brainfuck

source of all this - http://c2.com/cgi/wiki?BrainfuckLanguage

Just curious on your thoughts since I have never heard of this programming language before.
« Last Edit: February 17, 2012, 11:54:59 am by CaseAgainstFaith »
Quote
Reasoning with a fundie is like playing chess with a pigeon; no matter how good I am at chess, the pigeon is just going to knock over the pieces, crap on the board and strut around like it is victorious - Anonymous
Quote
Let us drink like dwarves; Smoke like wizards and party like hobbits!

Offline Yla

  • The Beast
  • *****
  • Posts: 809
  • Gender: Male
Re: BrainF**k Computer Code
« Reply #1 on: February 17, 2012, 12:56:44 pm »
I know Brainfuck. It's a semi-joke - while it's a complete language, only people interested in the challenge and masochists actually write short programs in Brainfuck.
That said, I've stopped trying to anticipate what people around here want a while ago, I've found it makes things smoother.
For I was an hungred, and ye told me to pull myself up by my bootstraps: I was thirsty, and ye demanded payment for the privilege of thine urine: I was a stranger, and ye deported me: naked, and ye arrested me for indecency.

Offline Sleepy

  • Fuck Yes Sunshine In a Bag
  • The Beast
  • *****
  • Posts: 4598
  • Gender: Female
  • Danger zone
Re: BrainF**k Computer Code
« Reply #2 on: February 17, 2012, 01:19:27 pm »
I've seen Brainfuck. A guy in one of my classes has been playing with it for awhile because, as Yla said, he likes the challenge. But screw that, I'm not enough of a masochist to attempt it.

A standard Hello World example. That makes me cringe.
« Last Edit: February 17, 2012, 01:33:34 pm by Sleepy »
Guys, this is getting creepy. Can we talk about cannibalism instead?

If a clown eats salmon on Tuesday, how much does a triangle weigh on Jupiter? Ask Mr. Wiggins for 10% off of your next dry cleaning bill. -Hades

Offline Dan

  • Apprentice
  • **
  • Posts: 99
  • Gender: Male
Re: BrainF**k Computer Code
« Reply #3 on: February 17, 2012, 01:44:54 pm »
I always preferred Whitespace.

Offline Yla

  • The Beast
  • *****
  • Posts: 809
  • Gender: Male
Re: BrainF**k Computer Code
« Reply #4 on: February 17, 2012, 02:54:00 pm »
I find that list of advantages very funny.

Quote
   Fast learning curve
    Easy syntax
Snerk.

Quote
200 byte compiler
whose output will utterly paralyze your computer if you try to run more than a Hello World. If you want a serious executable, the compiler needs to optimize the code, which a 200B one won't do.

Quote
Code reuse is facilitated by an utter lack of variables and subroutines.
Ahahahahah.
That said, I've stopped trying to anticipate what people around here want a while ago, I've found it makes things smoother.
For I was an hungred, and ye told me to pull myself up by my bootstraps: I was thirsty, and ye demanded payment for the privilege of thine urine: I was a stranger, and ye deported me: naked, and ye arrested me for indecency.

Offline Sleepy

  • Fuck Yes Sunshine In a Bag
  • The Beast
  • *****
  • Posts: 4598
  • Gender: Female
  • Danger zone
Re: BrainF**k Computer Code
« Reply #5 on: February 17, 2012, 03:47:20 pm »
Maaaan, I hadn't seen LOLCODE before. Not sure if amusing or depressing.
Guys, this is getting creepy. Can we talk about cannibalism instead?

If a clown eats salmon on Tuesday, how much does a triangle weigh on Jupiter? Ask Mr. Wiggins for 10% off of your next dry cleaning bill. -Hades

Offline Captain Jack Harkness

  • Petter, Brony, and All-Around Cartoon Addict
  • The Beast
  • *****
  • Posts: 2868
  • Gender: Male
  • Or as a friend calls him, Captain Jack Hotness!
Re: BrainF**k Computer Code
« Reply #6 on: February 17, 2012, 05:45:18 pm »
Yeah, I've actually heard of this before.  Each command is meant to either traverse or manipulate bits to create different ASCII values, if I recall correctly.  I didn't click the link, and am just going off of memory.
My friend's blog.  Check it out!

I blame/credit The Doctor with inspiring my name change.

Offline Witchyjoshy

  • SHITLORD THUNDERBASTARD!!
  • Kakarot
  • ******
  • Posts: 9044
  • Gender: Male
  • Thinks he's a bard
Re: BrainF**k Computer Code
« Reply #7 on: February 18, 2012, 01:27:44 am »
I think it'd be less confusing to learn to program directly with binary O_o
Mockery of ideas you don't comprehend or understand is the surest mark of unintelligence.

Even the worst union is better than the best Walmart.

Caladur's Active Character Sheet

Offline Shane for Wax

  • Official Mosin Nagant Fanboy, Crazy, and Lord of Androgynes
  • Kakarot
  • ******
  • Posts: I am a geek!!
  • Gender: Male
  • Twin to shy, lover of weapons, pagan, wolf-brother
    • Game Podunk
Re: BrainF**k Computer Code
« Reply #8 on: February 18, 2012, 02:01:54 am »
No thank you!

&
"The human race. Greatest monsters of them all."
"Ke barjurir gar'ade, jagyc'ade kot'la a dalyc'ade kotla'shya."
Fucking Dalek twats I’m going to twat you over the head with my fucking TARDIS you fucking fucks!

Distind

  • Guest
Re: BrainF**k Computer Code
« Reply #9 on: February 20, 2012, 06:29:35 am »
I think it'd be less confusing to learn to program directly with binary O_o
Having effectively done that, I will say it's true. I'd rather fuck with binary byte codes again than deal with brainfuck.

Mind you I had to write out a couple hundreds of lines of bytecode instructions in notepad, and I'd still rather do that again than brainfuck.