News for hackers. Stuff that matters.
Re:So You Want to Rust the Linux Kernel? by pca006132 on Monday October 11, 2021 @08:53AM (#28827769)
> an implementation of it that uses unsafe, like the one in crossbeam-rs, is typically very amenable to theorem provers (much more than C)

Just wondering, how many unsafe code in commonly used libraries (standard library, tokio etc.) are proved using theorem provers?

Re:So You Want to Rust the Linux Kernel? by steveklabnik on Monday October 11, 2021 @10:17AM (#28828570)
Don't have comprehensive enough data to know, but part of the standard library was proven via the Rustbelt project, and it found some places where there were bugs, as well as some places where things could safely be loosened up.
Re:So You Want to Rust the Linux Kernel? by volta83 on Tuesday October 12, 2021 @08:41AM (#28838948)
Most of the unsafe code in libcore is proved in Iris.

Some of the unsafe code in the standard library also.

Some parts of crossbeam have pencil&paper proofs documented.