Jump to content
Banner by ~ Discord The Overlord

technology BrainfuckGolf programming competition


Galen Selanno

Recommended Posts

Checking the links here is advised.

 

Brainfuck (which is only capitalized at the beginning of a sentence) is an esoteric programming language which is known for its extreme minimalism and its extreme difficulty when used for practical purposes. Despite this, it is very easy to learn and is "Turing-complete," which means it can be used for any job that a computer can do. There are only 8 instructions in brainfuck: <, >, +, -, ., ,, [, and ]. These are explained here. Brainfuck programs work by an invisible 1-dimensional array 30,000 bytes long with a "pointer".

 

There is a visualizer here which will help you learn this language, and an interpreter here.

 

There is a sport in the programming world called brainfuckGolf where you have to write a program for a given task with the fewest characters. The last "official" brainfuckGolf competition was in 2002, and I wanted to restart this sport here, no matter how irrelevant to MLP is, as a sort of forum-wide joke competition. At that, I'd like to introduce the first MLP Forums brainfuckGolf competition. Rules and topic are below.

 

Topic:

 

The topic of the first competition is to create a Brainfuck program that writes "This is a brainfuck program."

 

Rules:

 

Programs are judged by how long they are. If there are ties between the length of the program in the standings, they will be judged by their memory usage (which is measured by the maximum value of the first byte during the execution of the program). If both of these values are tied, the placing will be split.

 

Contest entry: If you wish to enter the competition, please leave a reply stating your entry into the competition.

 

Result submission:

 

If you have entered, please submit your program by April 20, 2015 at 3:00 PM by private message to ArcFighter300. Please place your program in

 comments. I will have the results out in this post within one week of April 20.

 

Hint:

 

Keep an ASCII table with decimal-character translations like this one on hand. The value that a byte is set to translates directly from decimal ASCII code to characters in the output.

 

Good luck!

Edited by xX4rcF16h73r3()()Xx

MLP. Home sweet home. I forgot how nice the residents of Equestria could be. Anyone seen The Martian?

         __       ____        ____                                             
 /'\_/`\/\ \     /\  _`\     /\  _`\                                           
/\      \ \ \    \ \ \L\ \   \ \ \L\_\___   _ __   __  __    ___ ___     ____  
\ \ \__\ \ \ \  __\ \ ,__/    \ \  _\/ __`\/\`'__\/\ \/\ \ /' __` __`\  /',__\ 
 \ \ \_/\ \ \ \L\ \\ \ \/      \ \ \/\ \L\ \ \ \/ \ \ \_\ \/\ \/\ \/\ \/\__, `\
  \ \_\\ \_\ \____/ \ \_\       \ \_\ \____/\ \_\  \ \____/\ \_\ \_\ \_\/\____/
   \/_/ \/_/\/___/   \/_/        \/_/\/___/  \/_/   \/___/  \/_/\/_/\/_/\/___/
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...