Saturday, 5 December 2026

Trusted News Discovery โ€“ Powered by AI and Verified by Humans

Advertisement

Laravel for COBOL spoofs AI coding by rebuilding the PHP framework in a language designed in 1959

Laravel for COBOL, a satirical GitHub project, rebuilds the PHP framework in a 1959-era language and needs 188 lines for a one-line route.

Produced with AI assistance and reviewed by the Badiyaa Editorial Desk. How we work.

Grok Fact CheckCheck it yourself in one tapVerify with Grok ↗Ask @grok on X ↗
A US Department of Agriculture computer room filled with large mainframe-era machines.
Image: Warren K. Leffler, Public domain via Wikimedia Commons

Somebody rebuilt one of the web's most popular PHP frameworks in COBOL, a business language designed in 1959, and the joke works. Laravel for COBOL, a satirical but runnable project on GitHub, needs 188 lines of code for an endpoint that takes one line in regular Laravel, and its motto sums up the gag: "Ship confidently. Understand optionally."

The project, posted by the GitHub user pihedy, was shared to Hacker News on December 3, 2026, and was still on its front page on December 4, drawing more than 400 points and 135 comments in Badiyaa's trend capture. By the time Badiyaa read the project's GitHub page on Friday, December 4, it had 163 stars and six forks.

A parody of AI-first coding

The target is the idea that AI agents make the choice of programming language irrelevant. The README plays it completely straight. Because COBOL is so wordy, it argues, thousands of lines of it give an AI agent far more context to chew on than a few hundred lines of PHP. "You focus on your ideas. Your agent focuses on the implementation. Someone else can focus on maintaining it," it says.

Advertisement

The step-by-step guide to "agentic development" ends with a final instruction: "Do not read the diff. It is very long." On the roadmap, "Understanding the codebase" is marked as not planned at all.

The project is clearly labeled: its README states it is an unofficial, satirical project with no link to Laravel or the company behind it.

The jokes are in the details

Routes are declared in a COBOL PROCEDURE DIVISION. Errors are called ABENDs, the old mainframe term for a crash, and the error page shows a storage dump. The linter fails any line past column 72, "as nature intended." Queues are described as "just batch jobs with better marketing," and a sample controller weighs in at 188 lines where, the README admits, the PHP version runs about fifteen. "We consider this a feature," it adds.

It also really runs. The Docker image ships with the open-source GnuCOBOL compiler and a lightweight web server, and every web request starts a fresh COBOL program.

Advertisement

The benchmark twist

On the same $5-a-month server, the README reports that stock PHP Laravel handled 137 requests a second on a user page against 80 for the COBOL version. But the COBOL build posted far better worst-case response times, roughly 195 to 300 milliseconds at the 99th percentile against about 570 to 790 for PHP. The mainframe benchmark is listed as "Please call sales."

By Badiyaa's math, the sample controller is about 12 times longer than its PHP twin, and the single-route comparison is 188 to 1.

Why COBOL is the punchline

The gag lands because COBOL never went away. Its design began in 1959 at a US Department of Defense-backed effort, drawing on Grace Hopper's FLOW-MATIC language, according to Wikipedia's history of COBOL. The same entry notes that as of 2020 it ran behind the scenes 95% of the time a credit or debit card was swiped, and that several US states struggled to find COBOL programmers for unemployment systems during the COVID-19 surge in claims.

For more on the AI-coding debate, read how Advent of Code creator Eric Wastl asked coders not to use AI on his puzzles and how 0rwx labels AI use in four levels, from hand made to AI made.

Sources

Image: Warren K. Leffler, Public domain via Wikimedia Commons

This article was produced with AI assistance and reviewed by our Editorial Desk. How we work.

Advertisement
Grok Fact CheckCheck it yourself in one tapVerify with Grok ↗Ask @grok on X ↗