Overall a thing that is going to be a problem for me with Rust is
A thing I want: A language with linear types
What Rust is: A language which type-enforces only a single mutable pointer to any buffer, internally using a linear typing engine
A thing I don't want: That
Conversation
Also F* requires you to write code in a restricted subset of the language (Low*) if you want 1 😟 - it's nice that Rust lets you have a highish level of language that automates a bunch of this lowering you'd otherwise need to do by hand.
2
4
I'm not sure… probably? I think it would be neat if a language let you do more with separation logic directly, but that would probably require more work from the programmer, with less of the automation the Rust's type system provides.
I guess Rust with refinement types could do a bit more, such as partial borrowing a subset of fields, variant types, etc.
but it still only gets you a bit farther
1
2
Show replies


