top of page

BF | Brainfuck

Jan 5, 2021
1 min read

Updated: Jan 6, 2021

Brainfuck is an esoteric programming language created in 1993 by Urban Müller. Notable for its extreme minimalism, the language consists of only eight simple commands and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers. Brainfuck simply requires one to break commands into microscopic steps.

The language's name is a reference to the slang term brainfuck, which refers to things so complicated or unusual that they exceed the limits of one's understanding.

The idea behind brainfuck is memory manipulation. Basically you are given an array of 30,000 1byte memory blocks. The array size is actually dependent upon the implementation used in the compiler or interpretor, but standard brainfuck states 30,000. Within this array, you can increase the memory pointer, increase the value at the memory pointer, etc.

Some rules:

➙ Any arbitrary character besides the 8 listed above should be ignored by the compiler or interpretor. Characters besides the 8 operators should be con- sidered comments;

➙ All memory blocks on the "array" are set to zero at the beginning of the program. And the memory pointer starts out on the very left most memory block;

➙ Loops may be nested as many times as you want. But all [ must have a corre- sponding ].


👽👉 Grab the code below and past into the decrypt tool and you will see the phrase inside the "blue code":


++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++.>---.+++++++++++++.+++++++++++.<<++.>>-----.------------.-------.+++++++++++++.---.++++++++.<<.>>-------------.+++++++++.+++.<<.>>+++++++.----------.++++++.---.<<.>>++++.-------------.++++++++++.----------.+++++++++++.<<+.-.>++++++.+.---------------.+++++++++.-------.--.<++++++++++++++.>>-----------.+++++.--------.+++++++++.

This post was just a simplification of what it is and how it works... brainfuck is very complex!


Recent Posts

See All
Hiding Messages Inside an Emoji

Imagine receiving a message that contains nothing more than this: 🌊‌‌‌‌‌‌‌‌‌‍‌‍‍‌‍‍​‌‌‌‌‌‌‌‌‌‍‌‍‌‌‍‍​‌‌‌‌‌‌‌‌‌‍‌‍‌‍‌‌​‌‌‌‌‌‌‌‌‌‍‌‌‌‍‌‍​‌‌‌‌‌‌‌‌‌‍‌‌‍‍‍‌​‌‌‌‌‌‌‌‌‌‍‌‌‌‍‍‍​‌‌‌‌‌‌‌‌‌‍‌‌‌‍‌‍​‌‌‌‌‌‌‌‌‌‌‍‌‍

 
 
 
Fake Data in Python

If you are developing applications, testing your software, or just exploring Python's capabilities, you might have faced a situation...

 
 
 
Mobile | Secret Phone Codes

Our smartphones have become extensions of ourselves, facilitating much of our communication and storing troves of private data. If...

 
 
 

Comments


STENGE.info | Built with curiosity. Secured by knowledge.

bottom of page