Language page — context, influences, and learning notes on the 100hellos site.
Source on GitHub (100hellos/malbolge)
docker run --rm --platform="linux/amd64" 100hellos/malbolge:latest
Read the repo README, or fork the project and customize it.
For an interactive shell:
docker run --rm --platform="linux/amd64" --entrypoint="" -it 100hellos/malbolge:latest zsh
"Good morning! Doctor's found out that your programming is bad for you, but what the hell, you have to die of something."
Malbolge is a programming language designed to be as difficult to use as possible. Named after the eighth circle of hell in Dante's Inferno, it represents one of the most challenging programming languages ever created.
Malbolge was invented in 1998 by Ben Olmstead with a single, malevolent goal: to create a programming language that would be nearly impossible to write programs in. He succeeded spectacularly.
The first "Hello World!" program wasn't written until two years after the language was created, and it wasn't even written by a human—it was generated by a beam search algorithm by Andrew Cooke, because writing Malbolge by hand is essentially impossible.
The program that prints "Hello World!" looks like this:
(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc
This incomprehensible string of characters is actually a carefully crafted sequence that, when executed by the Malbolge interpreter, produces the familiar greeting. Each character serves a specific purpose in the twisted logic of this language.
Malbolge serves as a monument to computational masochism. It demonstrates that Turing completeness can be achieved even in the most hostile programming environment. It's a challenge to computer scientists, a puzzle for the brave, and a reminder that not all programming languages are meant to be practical.
Don't. Seriously, don't try to write Malbolge programs by hand. The language was designed to make programming as difficult as possible, and it succeeds. If you must create Malbolge programs, use automated tools and prepare for existential suffering.
If you're brave enough to learn more about this digital purgatory:
"Abandon all hope, ye who enter here." —Dante's Inferno, Canto III
Content type
Image
Digest
sha256:4e8a811b6…
Size
85.3 MB
Last updated
4 months ago
docker pull 100hellos/malbolge