Re:Writing a Linux-compatible kernel in Rust
by pjmlp on Tuesday October 26, 2021 @08:12AM
(#28999390)
On Windows we have SAL for that metadata.
https://docs.microsoft.com/en-us/cpp/c-runtime-library/sal-a...
Naturally it doesn't help for portable code, nor if the people don't make use of it, or the static analysers on the code.
So Rust’s lifecycle annotations are what makes proper proofs possible in the first place.
(As for proofs though, they are no silver bullets either — a program of linux’s complexity is unlikely to be ever completely verified, but rust may indeed give valuable guarantees for most of the program)