Yes, programming languages with names like Whitespace, Piet, and Brainfuck are entirely real—they’re esoteric languages (esolangs) designed for humor, art, or intellectual challenge, not for building apps. This article lists the most absurd-sounding but legitimate languages, explains why they exist, and shows how you can run them today if curiosity gets the better of you.
Formula
This simple estimator gives a rough file size for a source file: bytes ≈ lines × 40. The constant 40 is an average line length in characters (including indentation and newlines) across many real codebases. For esolangs like Whitespace (where only spaces, tabs, and newlines are valid), the average is closer to 1 byte per line, so adjust accordingly.
Worked Example
Using the default of 100 lines: 100 × 40 = 4,000 bytes (or characters). That matches the block’s output. For a Whitespace program, 100 lines would be roughly 100 bytes because each line is just a single whitespace character.
Why Do These Languages Exist?
Esolangs are created for reasons far from practical software development. The Esolang Wiki catalogs over 2,000 of them. Common motivations include:
- Art – Piet programs look like abstract paintings; each color block is an instruction.
- Minimalism – Brainfuck has only 8 commands, yet it’s Turing-complete.
- Satire – Languages like Befunge mock the idea that code must be linear.
- Challenge – Writing a program in Malbolge (named after Dante’s 8th circle of hell) is notoriously difficult—the first program took two years to create.
These languages push the boundary of what we consider “programming” and often teach concepts like instruction pointers, stack machines, and code generation in unexpected ways.
Notable Fake-Sounding Languages (and What They Do)
- Whitespace – Only spaces, tabs, and newlines are meaningful; all other characters are ignored. Your code looks like a blank file.
- Brainfuck – Uses 8 characters (
><+-.,[]) to manipulate a memory tape. A “Hello World” program is about 100 characters of pure punctuation. - Piet – Named after painter Piet Mondrian. Programs are bitmaps where contiguous blocks of color represent numbers and operations.
- Befunge – Code is written on a 2D grid; the instruction pointer can move up, down, left, or right, making programs look like ASCII mazes.
- LOLCODE – Uses keywords like
HAI,KTHXBYE, andI HAS Ato mimic internet slang from the 2000s. - Malbolge – Self-modifying code with a bizarre ternary-based instruction set. It’s considered one of the hardest languages to write in.
- ArnoldC – Every command is a quote from an Arnold Schwarzenegger movie (e.g.,
IT'S NOT A TUMORforprint). - Chef – Programs are recipes; the instruction list is the code, and the output is a dish. A “Hello World” program is a recipe for chocolate cake.
How to Run Them (Without Losing Your Mind)
You don’t need to install compilers for most esolangs. Online interpreters are the quickest route:
- Visit an online interpreter like tio.run (Try It Online) which supports dozens of esolangs.
- Paste a sample program from the Esolang Wiki or GitHub (search “brainfuck hello world”).
- Click “Run” and watch the output appear in a terminal emulator.
For local experimentation, most languages have interpreters on GitHub. For example, bf interpreters are a common weekend project—many are under 100 lines of C.
Common Misconceptions
“They’re not Turing-complete.” Actually, most are. Brainfuck, Whitespace, and Befunge are all Turing-complete, meaning they can compute anything a regular language can, given enough memory and time. The limitation is practical, not theoretical.
“They’re jokes with no educational value.” Many esolangs teach real concepts. Brainfuck clarifies how a Turing machine works. Befunge introduces 2D control flow. Piet requires understanding of color models and image parsing.
“You can’t write anything useful.” People have written interpreters, games, and even a Brainfuck compiler in Brainfuck. It’s absurd, but it proves the language’s completeness.
How to Choose One to Try
If you’re curious but short on time, pick based on your goal:
- Quick laugh – LOLCODE or ArnoldC (you’ll be laughing within 5 minutes).
- Understand Turing machines – Brainfuck (write a simple loop that adds two numbers).
- Visual art + code – Piet (draw a small image in a pixel editor and run it).
- Mind-bending logic – Befunge (solve a maze-like program flow).
- Show off – Malbolge (write “Hello World”—expect to spend days).
There’s no “best” esolang; it’s about what sparks your interest. Start with the simplest—Brainfuck has only 8 commands, so you can learn it in an hour.
Safety and Practical Limits
Esolangs are safe to run in an interpreter, but be aware of a few things:
- Infinite loops – Brainfuck programs can loop forever if you misplace a
[. Use a timeout or a step limit in your interpreter. - Memory usage – Some languages (like Befunge) have a fixed grid size; large programs may error or wrap around.
- File extensions – There’s no standard extension;
.ws,.bf, and.bare common but not universal. - Don’t use them in production – Obviously. These are for learning, art, and fun—not for code that needs to be maintained by others.
If you’re writing a Whitespace program, be careful with text editors that auto-trim trailing spaces—they will destroy your code.
Frequently Asked Questions
Is Brainfuck actually usable for anything?
Yes, but only as a proof of concept. People have written interpreters, a BASIC compiler, and even a chess program in Brainfuck. It’s not practical, but it demonstrates that any computable problem can be solved in any Turing-complete language.
Are these languages recognized by official standards?
No. There is no ISO or IEEE standard for esolangs. They are defined by their reference implementations and community documentation on the Esolang Wiki. That doesn’t make them less “real”—they run on real machines and produce real output.
Can I put an esolang on my resume?
You can, but it’s usually seen as a fun fact, not a skill. If you write a nontrivial program in Malbolge, that shows problem-solving and persistence—interviewers might ask about it, but they won’t expect you to use it on the job.
What’s the hardest esolang to learn?
Malbolge is widely considered the hardest because it’s self-modifying and uses a base-3 number system. The first “Hello World” program was generated by a brute-force search, not written by hand. Other candidates include Befunge (2D flow) and Piet (visual programming).
Do esolangs have real compilers?
Yes, many have compilers that produce native machine code. For example, there are C compilers for Brainfuck and Whitespace. However, most people use interpreters because they’re easier to debug (if you can call it that).
Is there a community around these languages?
Yes, the esolang community is active on the Esolang Wiki, Reddit’s r/esolangs, and Discord servers. They hold competitions, create new languages, and document obscure features. It’s a welcoming group that values creativity over practicality.
Related
Formula used
in t | Lines of code | - | 100 | 1 | 1000000 out bytes | Approx. bytes (UTF-8) | - | t * 40 | 0 out chars | Approx. characters | - | t * 40 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Luxury V6 Sports Sedan: Can It Easily Top 100k Miles?
- Puppets in TV Shows: Classic Proof They’re Better
- Best Streaming Remote: Top Picks for Every Setup
- Claude Pro Hidden Features Power Users Try
- Tesla Rental Prices: Why They’re So Low255.00 USD
- Best Family Western Movies to Stream Right Now