logoalt Hacker News

trehans • yesterday at 5:52 PM • 1 reply • view on HN

Yes, Verus (for Rust) is a good example of programming language level verification. The recent GitHub Next announcement indicates they are using it in their backend.

You're right that if you verify at the assembly language it can give you additional certainty that there are no additional errors in the compilation step. However, it can be easier for AI to reason about proofs written at the programming language level because (from what I can deduce) it matches the level that humans are operating at and it doesn't have additional details such as registers and memory operations to worry about.


Replies

tcdent • yesterday at 8:21 PM

AWS uses Verus for their verified layers of Nitro, too.

I have just begun working with it, but I prefer the convention of including the formalizations alongside application code, as opposed to maintaining a parallel codebase.