Рет қаралды 11,125
Rust 1.75 includes Async functions in Traits!
Rust operates on a 6 week release cycle. Every 6 weeks a "release train" leaves the station and begins its journey to being the next stable release.
Code: github.com/rust-adventure/rust-release-train/tree/ea21e81a85c05de2b02e9d2a3f5ddc59fe08c2cf/versions/v1.75/examples
Rust Release Post: blog.rust-lang.org/2023/12/28/Rust-1.75.0.html
RPITIT Post: blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html
What is a Release Train? -- doc.rust-lang.org/book/appendix-07-nightly-rust.html#choo-choo-release-channels-and-riding-the-trains
## Chapters
00:00 Rust 1.75!
00:15 code layout optimizations for rustc
00:41 Option::as_slice
02:14 exhaustive half-open usize/isize ranges
03:17 FileTimes
04:35 Return Position Impl Trait in Trait (RPITIT)
06:19 async functions in traits!
08:29 Downsides to RPITIT
09:24 new trait_variant crate