July 27, 2026

Bug theory or bug fan fiction?

Towards a Theory of Bugs: The Ruliology of the Unexpected

Program bugs may be impossible to kill — and the comments went feral

TLDR: Wolfram argues some software bugs may be unavoidable because even simple programs can act in surprising ways. Commenters were split between “this explains why clean code matters” and “this is overhyped wordplay,” with the weird term “ruliology” taking some of the biggest hits.

Stephen Wolfram just dropped a very grand idea: maybe bugs aren’t just annoying mistakes, but a built-in part of computing itself. His argument, in plain English, is that even very simple programs can suddenly behave in weird, unpredictable ways, so some failures may be impossible to fully foresee without actually running the code. He uses tiny toy machines to show how a program that seems to do something obvious — like adding 1 — can suddenly go off-script. That instantly turned the comment section into a full-on food fight about whether this is deep insight or just fancy dressing on an old problem.

The biggest split? One camp said, basically, this is why clean, understandable code matters: if humans can only grasp so much, then building software from simple pieces is more than style — it’s survival. Another camp was far less impressed, saying Wolfram was smudging together two different things: ordinary human coding mistakes versus the deeper idea that some systems are inherently hard to predict. Critics were especially sharp about his habit of coining big terms without pinning them down, with one commenter asking whether this is real science or just data-visualization theater.

And then came the spiciest twist: security panic. One reader connected the article to a Google security leader’s claim that we must eliminate every software flaw before artificial-intelligence agents exploit them — and basically called that dream dead on arrival. Meanwhile, the funniest side quest wasn’t about bugs at all, but the name “ruliology,” which got roasted so hard it nearly became the main event.

Key Points

  • The article argues that software bugs may be studied through a general theoretical framework grounded in computation.
  • It links bugs to computational irreducibility, claiming that even simple programs can produce behavior that cannot be fully predicted in advance.
  • The discussion connects these ideas to bug detection, testing difficulty, software verification, computer security, and AI-generated code.
  • It states that automated systems can make progress only in limited areas of computational reducibility, while irreducible cases require direct execution to know outcomes.
  • As an example, the article analyzes a 3-state, 2-color Turing machine that appears to compute n + 1 on small inputs but produces glitches on larger inputs, including outputting 9 for input 7.

Hottest takes

"we simply must eliminate every software vulnerability on Earth" ... "doomed from the start" — dloss
"it’s very hard to pin down what is actually interesting empirical science and what is data visualisation buggering around" — seanhunter
"'Ruliology' is an ignorant neologism, and whoever thought it up should be dropped down a well" — anigbrowl
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.