Rust Release Train 1.75

  Рет қаралды 11,043

chris biscardi

chris biscardi

Күн бұрын

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/rus...
Rust Release Post: blog.rust-lang.org/2023/12/28...
RPITIT Post: blog.rust-lang.org/2023/12/21...
What is a Release Train? -- doc.rust-lang.org/book/append...
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

Пікірлер: 17
@samuelgunter
@samuelgunter 6 ай бұрын
for those who are wondering what "release train" means and are too afraid to ask (or never questioned it), "The release train is a technique for coordinating releases across multiple teams or components that have runtime dependencies. All releases happen on a fixed and reliable schedule regardless of whether all expected features are ready (the train doesn't wait for you - if you miss it you wait for the next one)" -- ThoughtWorks
@chrisbiscardi
@chrisbiscardi 6 ай бұрын
Rust specifically operates on a 6 week release cycle. A nightly release goes out every day, and a beta release is branched every 6 weeks. If the beta release doesn't have any major regressions, it is promoted to stable six weeks later. For example, the release that will go out on Feb 8th has already been branched off on December 22nd. doc.rust-lang.org/book/appendix-07-nightly-rust.html#choo-choo-release-channels-and-riding-the-trains
@friendlywavingrobot
@friendlywavingrobot 6 ай бұрын
chris is the hardest working rust reporter out there. Great vid!
@mikkelens
@mikkelens 6 ай бұрын
The bit at the end of the blog post detailing future stabilization of the parallelized compiler front end makes me quite excited. I am happy to finally see RPITIT/AFIT a reality for crates, just not sure how this will look ergonomically in "public" contexts (between crates, which is warned against as of now) in the future.
@houstonbova3136
@houstonbova3136 6 ай бұрын
This feels like a lot of really nice quality of life improvements.
@kira.herself
@kira.herself 6 ай бұрын
rust gets better by each day yippee
@lixou
@lixou 6 ай бұрын
Waiting for the summary Video all day long 🎉
@jacekm.1789
@jacekm.1789 6 ай бұрын
thanks for the update! as always useful!
@ravveni
@ravveni 6 ай бұрын
awesome summary! thanks!
@Roms8313
@Roms8313 6 ай бұрын
this is HUGE 😮❤
@ducky_futures
@ducky_futures 6 ай бұрын
Can you pretty please teach us how to make custom rounds? Like those you see on prop hunt with no loading screen between rounds. Here is what I found on the UEFN dev site. Thank you! “I “Fake” rounds in multiple of my maps for the very reason of how bad the round change over time is. (You will literally loose players as they wait for the black screen to change over) As long as you are clear on when the round will end (Time based / Objective based / etc) then I feel you can do better then the round system in place. When I have things that need to get reset this is how I handle it: My GameManager (Verse device) will include a ResetTrigger editable variable that I Trigger in verse when I’m ready to do clean up. Then my devices I either want to disable or enable, item removers that need to take player items, portals that need to relocate players, all listen to the ResetTrigger. This simplifies the control flow of the state of your game loop. You will of course have to handle resetting other things in an appropriate way as well. For example some of my verse devices will listen to a reset trigger (or have a Reset function that gets called by some other device directly) then the device will do something like clear an array or change a variable the is referenced to a player in a map, etc.”
@zed5790
@zed5790 6 ай бұрын
Please make a video on rust Loco Framework.
@Saturate0806
@Saturate0806 6 ай бұрын
why did you call await on fetch in main if the last function call inside async fetch was an await?
@chrisbiscardi
@chrisbiscardi 6 ай бұрын
The trait function is defined as async, which desugars to a function that returns `impl Future` regardless of if the last value in the function body is a "regular" value or not. The full return type in this case is impl Future So you await on that Future in main when you call fetch().
@BrazenNL
@BrazenNL 6 ай бұрын
Early 360p crowd, represent …
@chrisbiscardi
@chrisbiscardi 6 ай бұрын
oof, haha. Hopefully its not too bad. Dashboard says 40 min left for the hd encode and 60 min left for the 4k encode.
@BrazenNL
@BrazenNL 6 ай бұрын
@@chrisbiscardiAll in HD now. Thanks!
I spent six months rewriting everything in Rust
15:11
chris biscardi
Рет қаралды 408 М.
How to set up Rust for Advent of Code
14:18
chris biscardi
Рет қаралды 37 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 54 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,6 МЛН
Why Rust is bad, actually*
11:53
UWCS - University of Warwick Computing Society
Рет қаралды 42 М.
Is Rust the New King of Data Science?
15:38
Code to the Moon
Рет қаралды 132 М.
iced GUI | Rust Language
17:00
Learning Rust
Рет қаралды 3,2 М.
Constructors Are Broken
18:16
Logan Smith
Рет қаралды 101 М.
why rust libraries may never exist.
7:26
Low Level Learning
Рет қаралды 224 М.
The magic of Rust's type system
9:01
Let's Get Rusty
Рет қаралды 71 М.
Rust Release Train 1.74
14:54
chris biscardi
Рет қаралды 14 М.
Rust's most wanted feature just arrived!
3:50
Let's Get Rusty
Рет қаралды 119 М.
Rust Branching - if let, match
9:21
Code to the Moon
Рет қаралды 26 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,9 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,6 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 41 М.