hn.today

Laravel for COBOL

github.com471 points168 comments
Screenshot of Laravel for COBOL

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.

Read on github.com168 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.