Laravel for COBOL is an explicitly satirical, unofficial framework that reimagines Laravel’s web-development experience in COBOL. Its central joke is that AI agents make understanding code optional: COBOL’s verbosity, once a drawback, becomes “more context” for an agent to generate, while future developers are advised not to read the resulting diffs. The project parodies modern framework conventions through COBOL equivalents: routes and controllers use procedure divisions and dynamic calls, copybooks define model records, middleware runs before and after controllers, and VSAM-style files provide the default data store. It also offers Blade-like templates, basic authentication, command-line tools, Docker-based setup, and familiar errors rendered as mainframe abends and storage dumps.
The repository includes working early-stage features alongside planned or jokingly assigned ones, so its claims should not be mistaken for a production-ready framework or genuine mainframe performance results. Its benchmark compares a minimal app on the same $5 VPS: COBOL handles 80 requests per second for one endpoint versus PHP Laravel’s 137, and 137 versus 158 for another. The stated advantage is lower p99 latency - roughly 195-300 milliseconds versus 570-790 - despite launching a process per request; the PHP implementation uses one line per endpoint compared with COBOL’s 188. The project invites readers to run the benchmarks themselves and leans into its parody with column-limit linting, batch-job queues, and a roadmap that includes Livewire for 3270 terminals.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.