Switch language한국어
Back to the list

Why Don't People Use Formal Methods? (2019) | Hacker News

TL;DR AI

Key summary

2 min read
  1. An engineer rewriting PostgreSQL in Rust used Kani to verify more than 1,000 functions against the C code.

  2. The proof-based approach uncovered four cross-platform bugs in PostgreSQL’s C implementation, including parsing and overflow issues.

  3. One bug involved inconsistent char hashing, and another could corrupt data in hash indexes.

  4. The case shows how formal methods can catch real correctness problems in critical database software.

Read the original