Rust Foundation Update On Goals |
Written by Kay Ewbank | |||
Monday, 03 February 2025 | |||
Over the last six months, the Rust project has been working towards implementing 26 project goals, with 3 of them designated as Flagship Goals. The team has now provided an end-of-year update on progress towards these goals (or, in some cases, lack thereof). Rust is popular for situations including being embedded in other languages, writing programs with specific space and time requirements, and writing low-level code. The first and biggest goal is the move to bring the Async Rust experience closer to parity with sync Rust. This largely revolves around async closures, and the team has announced that their work there is done. Stable support for async closures landed on nightly on Dec 12 and it will be included in Rust 1.85, which ships on Feb 20. However, looking at the other major goals, the developers have made progress, but say work remains to be done. The second major goal, that of implementing Return Type Notation (RTN), has been carried out, but not yet reached stability. The team plans to get to stability as part of their 2025H1 goal. Async Functions in Traits (and Return Position Impl Trait in Trait) are another 'in progress' goal, and are currently not considered dyn compatible. The team says they would eventually like to have first-class dyn support, but as an intermediate step they've created a procedural macro crate dynosaur1 that can create wrappers that enable dynamic dispatch. This will be explained in a future announcement showing how to use this crate and laying out the overall plan for async functions in traits. Another async related goal, an implementation for async drop, has been done, but the team still needs to carry out a review. In a blog post, they say: "To be clear though the scope of this is an experiment with the goal of uncovering implementation hurdles. There remains significant language design work before this feature would be considered for stabilization (we don't even have an RFC, and there are lots of unknowns remaining)." Elsewhere, the team has been working to remove elements seen as the biggest blockers to Linux building on stable Rust. They say they've largely completed their goal to stabilize the language features used by the Rust for Linux project, but that in some cases work remains to be done. The final release of Rust 2024 is confirmed for February 20, 2025 as part of Rust 1.85 which is currently in beta. More InformationRelated ArticlesRust 1.83 Improves Const Context Code Handling Rust 1.82 Improves Apple Support Rust Foundation Announces Safety-Critical Consortium To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |