推荐指数 57.2
← 返回 2026.12.04 日报
日报快照 · Daily Snapshot
NO. 022

COBOL 重写 Laravel 恶搞框架

#ARTICLE HackerNews 2026.12.04
推荐指数 33.0 NO. 022 · 2026.12.04
发布2026/12/03Score232Comments90

一个将 Laravel 移植到 60 年前 COBOL 语言的讽刺性开源项目,在 $5 VPS 上跑出了比原版更低的 p99 延迟。表面是技术恶搞,实则精准戳中了现代框架过度封装和性能焦虑的痛点。

这个项目的讽刺价值在于数据选择的艺术:故意用 p99 延迟而非吞吐量当卖点,用 188 行 COBOL 对比 1 行 PHP 来制造荒诞感。但背后有个真问题——很多"现代"框架在低端硬件上的表现确实被忽视了,边缘部署和 IoT 场景下 COBOL 级别的资源控制反而有参考价值。

真正该关注的是 benchmark 方法论本身。作者开源了完整的测试脚本,这对做框架性能对比的团队是个提醒:别只看 Hello World,要在受限资源下测真实业务逻辑。如果你在评估边缘节点的 Web 框架选型,可以借鉴这个测试结构,把 COBOL 换成 Go 或 Rust 再跑一遍。

意见分歧 89 条评论

核心争论:AI 时代代码可维护性与开发者理解底层技术是否还重要

jszymborski

> You focus on your ideas. Your agent focuses on the implementation. Someone else can focus on maintaining it. I love it.

chilmers

> Understanding the codebase - Not on the roadmap

utopiah

"We believe that developers should never be limited by their choice of programming language, their understanding of the underlying technology, or the long-term maintainability of their applications."

替代方案: RustGoFortranAssemblyx86-64Apollo Guidance Computer assemblymachine languageRails
查看原文 →