Why Writing Correct Software Is Hard
Hacker News 热议:Why Writing Correct Software Is Hard(336 赞 / 150 评论,来源 pron.github.io)
一句话概要
We try to understand the relationship between programs and correctness, and in particular, why writing correct programs must be hard. We will review results from computability theory and complexity theory, and see that programs and complete understanding – which is required for correctness – are fundamentally at odds.
原文开头节选
I was very happy to speak at Curry On once again. Last year, following our work with Quasar, I spoke on continuations vs. monads . This year I gave a talk about computational complexity results in software verification, a subject I became interested in while formally specifying and verifying our upcoming revamped version of Galaxy.
What follows is an extended version of the talk (embedded above), containing some additional proofs and results I didn’t have time to cover, complete with footnotes, for those wishing to study the topics further. Reading time: ~45 mins.
In this article, we try to understand the relationship between programs and correctness, and in particular, why writing correct programs is hard. We will review results from computability theory and complexity theory, and see that programs and complete understanding – which is required for correctness – are fundamentally at odds. The main contribution of this text is aggregating in one place some results (as well as some references) pertaining to the essential difficulty of producing correct software.
(以上为原文节选,完整内容见下方”原文来源”)
这条动态今日登上 Hacker News 首页(336 赞 / 150 评论,来源 pron.github.io)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。
原文来源: Hacker News