26 points maufl 1 hour ago 8 comments

OreganoTrail 1 hour ago | parent

> Aristotle can prove that your code has no undefined behavior ... even inside unsafe blocks.

That's crazy, I haven't seen any other system that really tries to do that.

bryanlarsen 13 minutes ago | parent

Some others in the Rust ecosystem, not a complete list:

- cargo-anneal - VeriFast - RefinedRust - safety-tags - Verus

These 5 use very different mechanisms. This is still a very active research area.

bryanlarsen 7 minutes ago | parent

Most people using rust unsafe should likely be using

https://github.com/google/rust-skills/blob/main/unsafe_rust_...

expectfun 32 minutes ago | parent

"Feels like in the future the only languages would be Rust and Lean"

rafram 16 minutes ago | parent

Rust is a terrible language for many of the tasks people try to shoehorn it into. As processors and memory get faster, garbage collection only becomes more attractive, while the borrow checker remains a PITA that gets in the way of plenty of sensible architectures. In a sane world, Rust will never take over frontend development, for example - it’s a terrible fit.

(I qualify with “in a sane world” because obviously it could happen. In a truly sane world, JavaScript would never have happened, either!)

expectfun 4 minutes ago | parent

I'm not advocating for Rust (or against it), I'm just stating that currently it's hard to open the news without seeing Rust expanding somewhere, and it feels like "taking over the world". Whether that is bad or good is another question.

And yeah, it feels a bit like JavaScript a while ago, that's a good comparison.

5555watch 20 minutes ago | parent

Maybe a hot take, but I don't think Aristotle is a good name for an AI.

ajasmin 17 minutes ago | parent

There are a lot of verification tools for rust popping up recently it's getting hard to navigate the space.