Re:Dafny is a verification-aware programming language
by _flux on Wednesday April 24, 2024 @06:09AM
(#40142542)
Surely generating Rust is not a moving target, if you choose to target stable?
[ Parent
| on HN ]
Re:Dafny is a verification-aware programming language
by r9295 on Wednesday April 24, 2024 @06:13AM
(#40142573)
It depends on how feasible stable Rust is for popular projects. Many projects mandate nightly. Even if it is a fixed nightly version, the discrepancies across nightly versions add up since they don't just add APIs, they remove them too.
Re:Dafny is a verification-aware programming language
by junon on Wednesday April 24, 2024 @10:59AM
(#40145167)
Stable rust is inherently compatible with nightly. Especially if they're in their own crate.
Re:Dafny is a verification-aware programming language
by _flux on Wednesday April 24, 2024 @12:37PM
(#40146563)
Unstable rustc can compile stable code. For code you'd write with Dafny I highly doubt it would be an issue. Perhaps you have a proof of the opposite?
I've only ever needed nightly when doing something a bit off the beaten path, like targeting microcontrollers. The Linux kernel is another big project that needs unstable. It's much more rare a need than you make it out to be.