3 ms·
What are the features you expect Rust to gain between now and 5 years from now? As for major language features I remember async await from a year ago, const ge
by nindalf 6y ago
What are the features you expect Rust to gain between now and 5 years from now?
As for major language features I remember async await from a year ago, const generics recently and that’s it. If you can remember more features that fundamentally changed how we write code, please let us know.
I don’t think many features are expected in the near future apart from maybe generic associated types. But not any time soon either.
I think you might be seeing releases every six weeks and assume that each of these bring massive changes. They don’t. Each is a small iterative improvement. Take a look at the Rust release notes if you like.
- tene 6y agoNon-Lexical Lifetimes were a pretty big quality-of-life improvement. The question mark operator was also quite nice.
- steveklabnik 6y agoNLL landed in 1.31, in 2018, and ? landed in 1.13, in 2016. two and a half and five years ago :)
- rhn_mk1 6y agoGenerators is one. Custom allocators and anything else required to build bare-metal software. Compiling Rust itself, especially std::core. I hit that wall when trying to cross-compile using stable Rust that came with my distro.