Better HN
topnewbestaskshowjobs
Log inSign up

newca12

14 karma · joined Apr 11, 2021 (5y ago) · 6 submissions

Submissions

comment 4y ago · link · parent

Unsurprisingly, we can see a growing interest in the Rust ecosystem regarding formal verification. I try to keep https://github.com/newca12/awesome-rust-formalized-reasoning up to date. I will add CreuSAT shortly. The goal is to have an overview of what is actually Rust powered. Long term goal is to identify best practices and provide usefull common libraries.

comment 4y ago · link · parent

Ho well probem solved then. I wonder why people keep searching ;-)

comment 4y ago · link · parent

Did you known that in its early days Rust did take a more Pony-like approach but as ownership/borrowing took shape it was obvious that it was more scalable to move that abstraction into libraries.

What safe mean is not that easy to define. From the Pony FAQ: Pony prevents data races. It can’t stop you from writing race conditions into your program.

Also keep in mind that Rust is not garbage collected, the guarantees Rust provide regarding safety are a huge step forward but of course a lot need to be done.

Those guarantees are not promises, they are formally proven : https://www.ralfj.de/research/thesis.html (https://www.eurekalert.org/news-releases/610682)

comment 4y ago · link · parent

I guess a bit of sarcasm but nevertheless.

Excerpt from Kani doc : Kani is especially useful for verifying unsafe code in Rust.

and regarding loom and shuttle : Excerpt from The Rustonomicon : Safe Rust guarantees an absence of data races, which are defined as: 1) two or more threads concurrently accessing a location of memory 2) one or more of them is a write 3) one or more of them is unsynchronized However Rust does not prevent general race conditions. This is pretty fundamentally impossible, and probably honestly undesirable.

comment 4y ago · link · parent

This dispersed progress is the sign of an absence of maturity but the exploration of this space with Rust is very promising : https://github.com/newca12/awesome-rust-formalized-reasoning

6.

Awesome-Rust-Formalized-Reasoning(github.com ↗)

2 points · by newca12 · 5y ago · discuss