Aristotle Expands into Rust
35 points by maufl 2 hours ago | 12 comments

fuddle 41 seconds ago
Is there an open source alternative to this?
reply
ajasmin 44 minutes ago
There are a lot of verification tools for rust popping up recently it's getting hard to navigate the space.
reply
OreganoTrail 2 hours ago
> 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.

reply
bryanlarsen 40 minutes ago
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.

reply
bryanlarsen 35 minutes ago
Most people using rust unsafe should likely be using

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

reply
expectfun 60 minutes ago
"Feels like in the future the only languages would be Rust and Lean"
reply
rafram 44 minutes ago
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!)

reply
afavour 12 minutes ago
> 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.

I’d counter with: as LLM driven coding becomes more and more common the PITA borrow checker is something individual developers interact with less than less. Garbage collection looks more and more like a waste when an LLM can examine memory allocations before the app is even built.

reply
weinzierl 4 minutes ago
> As processors and memory get faster, garbage collection only becomes more attractive

Just because they did in the past doesn't mean they will continue to do so in the future. If we are honest then Moore's Law ended a decade ago (the latest) and we've been picking the low hanging fruit we left alone during Moore's era since. This too will come to an end for sure, just not a pretty and well defined one.

So, my conclusion is the opposite. Garbage collected and DX optimized languages made sense while processors and memory got faster, the future will be elsewhere.

reply
expectfun 31 minutes ago
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.

reply
teiferer 22 minutes ago
> In a truly sane world, JavaScript would never have happened, either!

Out of curiosity, what do you envision would have taken its place in frontend, in that sane world? (Honest question, no bad faith agenda.)

reply
5555watch 47 minutes ago
Maybe a hot take, but I don't think Aristotle is a good name for an AI.
reply