News for hackers. Stuff that matters.
Re:The Vale Programming Language by duckerude on Friday November 20, 2020 @09:31AM (#25160733)
One core difference seems to be that references are checked at runtime. In Rust you have to be able to prove that a reference to a value can't outlive the value, but Vale is more trusting, and simply crashes if a reference outlives the value in practice.

You have constraint references, which crash the program if they still exist when the value is freed. And you have weak references, which turn into null. Constraint references can optionally be compiled into raw pointers.

There are no comments on this comment yet.