惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
V
Visual Studio Blog
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
L
LangChain Blog
Martin Fowler
Martin Fowler
GbyAI
GbyAI
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Esoteric Coding Languages: Malbolge
Jami · 2026-06-01 · via DEV Community

Jami

Esoteric programming languages are often created to add a little bit of spice to the coding world. They're mysterious, often unsolvable for the average coder due to their unnecessary difficulty. Luckily, the world loves mystery and so do I. BranFlakes and Befunge seemed to be as bad as it could get, and then Malbolge was introduced. Funny enough, despite it's design it is possible to write useful programs in Malbolge like REBOL (relative expression based object language).

Malbolge was made to be almost impossible to use by making the code self altering and base-three arithmetic code. It builds on the difficulties of BranFlakes and Befunge by playing on older versions of computer science and encryption.
Who made it: Ben Olmstead, but the first program was written through a Beam Search algorithm (a quick problem solving search algorithm using breadth first search to build it's search tree)designed by Andrew Cooke through a Lisp implementation.

Malbolge was made in 1998 named after the 8th circle in Dante's Inferno. Two assembly languages exist to write Malbolge code. The first is LaL which was implemented by Japanese researchers and the second is HeLL due to a precise specification of LaL not being available as of 2013 (now available). It's use is not necessary, it is more to say that it was done rather than for useful applications.

Malbolge was generated by a Beam Search Algorithm: A heuristic search algorithm that only searches the most definitive nodes at a time. Because Beam Search expands limited nodes it is most beneficial for large searches. It utilizes best-search-first modification which alters log probability to return decent results. Beam search is often used in machine translation systems due to it's accuracy and ability to search larger databases.

Malbolge has 3 accessible memory locations (registers) a(accumulator), c(code pointer), d(data pointer). After every instruction if the memory that c points to is within the range of 33-126 then the following translation table is used:

When the interpreter executes a program it first checks to see if the proposed code is an ASCII character. If it is, it subtracts 33 from it and adds C and then modifies its character index by 94. If the original code is not an ASCII character the program automatically terminates.


The word Cat in Malbolge

This strange language has eight instructions and it's code functions based on trits of each machine word. The variable 'J' sets the pointer to the value already being pointed to. The variable 'i' sets the pointer to the value that will be pointed to. The character * rotates the trinary value of the cell that 'D' points to, to the right of 1. The variable 'P' performs a tritwise operation on the cell 'D' points to with contents of 'A'. The variable '<' reads the ASCII value from the stdin and converts it to Trinary and then stores it in A. The '/' converts the value in A to ASCII and then writes it in stdout. 'v' indicates the machines termination and lastly 'o' increments 'C' and 'D'.

A-Trits:

Di-Trits:

Trinary -> ASCII -> Decimal -> Hex-Table:

There are two techniques for writing Malbolge. The first is to print the text and terminate the code. The second technique is used for conditionals, loops, and inputs. In the second technique the developer designs the program as if every cell of memory can be initialized with arbitrary values, then generates the initialization code that writes the corresponding values into memory.

Malbolge is a wild and strange coding language that is not used very often. It's implementation is mostly for shock value and to show just how complicated machines can become. While it's not necessary to learn, it can be a great way of understanding how complex languages can get and how computers are able to interpret that complexity.

Sources:
https://en.wikipedia.org/wiki/Malbolge
https://en.wikipedia.org/wiki/Beam_search
https://dev.to/viz-x/malbolge-the-programming-language-designed-to-be-impossible-1bl7
https://www.geeksforgeeks.org/machine-learning/introduction-to-beam-search-algorithm/
https://direct.mit.edu/tacl/article/doi/10.1162/tacl_a_00346/96473/Best-First-Beam-Search
https://wiki.c2.com/?ProgrammingLanguageNamingPatterns
http://www.lscheffer.com/malbolge_spec.html
https://lutter.cc/malbolge/tutorial/cat.html