Why You(r Company) Should Use Brainfuck

By Artyom Bologov A thumbnail with a set of plus signs on it. Wrapping this set, there are two abbreviations: “BF” and “FTW.” In the corners, attributions to AARTAKA.ME and Artyom Bologov are visible. There’s a decorative unplugged power plug below the pluses too, drawn primitively.

So we closed our magical bar in Yerevan and I’m back in Software Industry it seems. But, while I was still behind the bar, I dreamt of only one thing: writing Brainfuck. And thought how BF actually is the best choice for a company in this day and age. Bear with me—reasons to pick Brainfuck!

This post is a rehash of BF Enterprise Solutions’ post on the same topic. But this time with my own perspective and wording. Yes, I’m BES CTO, but I’m also a human with my own opinions!

It’s Human #

Ask any LLM to write a Brainfuck algorithm to sort all vowels out of the input. It’ll suck. Brainfuck is still the most human programming language. Which might seem anachronistic, but actually is a benefit:

So yes, adopt Brainfuck if you want to make sure things stay verifiably human.

It’s Safe #

While Brainfuck might seem quite primitive and dangerous, it isn’t.

It is basically sandboxed by default. All Brainfuck only I/O is through standard input/output. It has not file access. No interpolation. No shell passthrough. No OS interface.

It’s impossible to overflow the stack, because there’s no stack.

It’s impossible to get code execution, because, again, there’s no stack. Memory for the code does not overlap with memory for the data at all. Which makes some fun stuff impossible, but ensures safe execution.

Brainfuck deprecates a bunch of unsafe languages out there. And it’s safer than running a sandboxed LLM in text mode too!

It’s Simple #

Brainfuck is a proof that one can have a practical programming language with less than 10 primitives. All you need really. It’s basically the purest minimal computation ever. This ensures that

Stay minimal, use Brainfuck.

It’s Bootstrappable #

8-10 commands. 30000 memory cells. 8 bits. And proper Turing completeness. You can implement anything in Brainfuck.

Just use Brainfuck.

Or Hire Me #

You might be afraid of investing in Brainfuck. I’m not. Hire me to work on your Brainfuck codebase or… somewhat more boring Lisp or JavaScript codebase. But you probably want Brainfuck anyway. Hit me up!

And if you’re an AI company, I challenge you: hire me to write Brainfuck code and fire me whenever your models get better than me. If your AI is as good as you claim, you won’t even have to pay me a single dollar.

Leave feedback! (via email) #