rust_1_85_Rust Edition 2024

Rust 2024

Info
RFC#3501
Release version1.85.0

link


(241130기준)현재는 nightly로 사용가능한듯 찾아보자


Rust2024 Edition (2025년 beta버젼에 출시 예정250109 beta version에서 사용가능)


Rust 2024 주요 3가지 목표(중요한 3가지)

1Bring the Async Rust experience closer to parity with sync Rust
2Resolve the biggest blockers to Linux building on stable Rust
3Rust 2024 Edition

Rust 2024 목표(그외에 23가지 목표)

  • Goal 러스트 에디션 2024 핵심 목표외 23가지 목표
1"Stabilizable" prototype for expanded const generics
2Administrator-provided reasons for yanked crates
3Assemble project goal slate
4Associated type position impl trait
5Begin resolving cargo-semver-checks blockers for merging into cargo
6Const traits
7Ergonomic ref-counting
8Explore sandboxed build scripts
9Expose experimental LLVM features for automatic differentiation and GPU offloading
10Extend pubgrub to match cargo's dependency resolution
11Implement "merged doctests" to save doctest time
12Make Rustdoc Search easier to learn
13Next-generation trait solver
14Optimizing Clippy & linting
15Patterns of empty types
16Scalable Polonius support on nightly
17Stabilize cargo-script
18Stabilize doc_cfg
19Stabilize parallel front end
20Survey tools suitability for Std safety verification
21Testing infra + contributors for a-mir-formality
22Use annotate-snippets for rustc diagnostic output
23User-wide build cache

Asynchrony & Iteration & Fallibility(async(await) & gen(for) & try(match))|🔝|

-ASYNCHRONYITERATIONFALLIBILITY
CONTEXTasync { }gen { }try { }
EFFECTyieldthrow
FORWARD.awaityield from?
COMPLETEspawn/block_onformatch

Async Rust roadmap|🔝|

YearLanguage
2019Async fns
2019-2022Ecosystem development
2023Async fn in traits
2024Async closures, generators....