Hacker News new | ask | show | jobs
by inigyou 3 days ago
Great then let's prove that ASM is correct.

the reference C code is just as bad.

1 comments

Which is actually possible, unfortunately the industry never cared that much about strong typed assembly.

See Verve OS from Microsoft Research, TAL and the origins of the Dafny language.

It's smallish snippets that implement self-contained algorithms, which should make it well within reach of direct formal proof of correctness.