Re:An IRC bot written in Brainfuck
by exDM69 on Monday January 07, 2013 @03:31AM
(#5020070)
Brainfuck is to Turing machines what Lisp is to Lambda calculus or Prolog is to predicate logic. There's enough syntactic sugar to make it a practical programming language that is based on a mathematical theory. Learning it will, arguably, make you a better programmer.
This seems to be like a conveniently sized practice project, a little I/O with the real world with a simple computational task that's fun to write.
Re:An IRC bot written in Brainfuck
by igul222 on Monday January 07, 2013 @02:30AM
(#5019889)
It would be really cool to make some slightly more usable programming language that compiles to Brainfuck so that mortals could write non-trivial programs in it and impress their friends.
Re:An IRC bot written in Brainfuck
by krichman on Monday January 07, 2013 @03:49AM
(#5020105)
It's not impressive, though. It's not surprising that someone is able to create a program using a Turing-complete language. It's just surprising that they decided to waste their time with an unreadable one. It's far more impressive to do basically anything else related to programming.
Re:An IRC bot written in Brainfuck
by jordanb on Monday January 07, 2013 @12:48PM
(#5022146)
I had an idea once to make a brainfuck web framework as an April fool's day joke along the lines of Cobol on Cogs.
The trick, I figured, would be to make a simple basic-like language, and actually write the framework in that, and then make a compiler that translated it to brainfuck.
Re:An IRC bot written in Brainfuck
by pestaa on Monday January 07, 2013 @01:50AM
(#5019794)
Exactly.
This `netfuck' code is well documented, though. I'm not even sure which questions I'd want to ask first about the author's relationship with programming.
Re:An IRC bot written in Brainfuck
by italics on Monday January 07, 2013 @05:36PM
(#5023693)
Jesus christ. O.o;; This is the first I've seen the language... I think if I wrote stuff at work in brainfuck they would think I was just wasting time. XD
It's art that's code
Now I'm thinking of awesome programs to hide in any gfx work I do...
This seems to be like a conveniently sized practice project, a little I/O with the real world with a simple computational task that's fun to write.
And when run on its own source-code it exposes a message; obfuscation and steganography being much the same thing.
And it uses every single BF symbol in the source significantly (no hopping over to a payload thats in a comment or something simple)...
I expect someone has already done it!
The trick, I figured, would be to make a simple basic-like language, and actually write the framework in that, and then make a compiler that translated it to brainfuck.
I wonder if that's what this guy did. :)
This `netfuck' code is well documented, though. I'm not even sure which questions I'd want to ask first about the author's relationship with programming.
Getting started with assembly can do strange things to a man. ;)
Also, who's the jerk that took "SirCmpwn" as a username :(