An unofficial, read-only Hacker News reader. Join the beta →

The need for a formally verifiable mainstream programming language (opens external site)

318 points by todsacerdoti 22 hours ago | blainehansen.me | 301 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. To support in-place mutation and avoid unnecessary memory allocation, it would need some form of linear/uniqueness types, so the language can know when no other references to a type exist so it can be updated in place via mutation. Right now Lean achieves decent performance via https://xnning.github.io/papers/perceus.pdf , but it can't match what Rust can achieve.