Most of us think of the number 5 as a static, boring point on a line. But in the world of NoiseLang, a new esoteric programming language created by Manu Martínez-Almeida, that number is actually a "Dirac delta"—a probability distribution where every single draw just happens to land on 5. It’s a subtle shift in perspective that turns software engineering into a high-speed exercise in signal processing.
Everything is a Waveform
In traditional languages, you have integers and then you might have random variables. NoiseLang does away with that distinction entirely. By treating every value as a distribution, the language allows developers to perform math on uncertainty directly.
If you add a "5" (a Dirac spike) to a uniform distribution between 1 and 6, the language doesn't just give you a single result; it shifts the entire probability mass. It treats constants and random variables as the same kind of object, meaning every operator in the language is designed to map distributions to other distributions. It's a world where the Kronecker delta and the Dirac impulse aren't just for physics textbooks—they're the building blocks of your source code.
Performance Meets Probability
You might think that treating every variable as a complex distribution would tank performance, but NoiseLang is surprisingly fast. Recent benchmarks show it hitting a staggering 5.8 billion samples per second thanks to a specialized JIT compiler.
This speed allows for real-time Monte Carlo simulations, letting you query the expected value or the probability of complex logical branches as easily as you’d print a string in Python. It’s essentially a playground for anyone who has ever wanted to perform arithmetic on a bell curve without the overhead of heavy statistical libraries.
While it might start as an "esoteric" project, NoiseLang represents a fascinating intersection of statistics and systems programming. Whether it becomes a staple tool for data scientists or remains a brilliant curiosity for math nerds, it’s a reminder that even the most basic "constant" is just a matter of perspective.
Sources
Media



