Crust of Rust: async/await
Video Statistics and Information
Channel: Jon Gjengset
Views: 49,584
Rating: undefined out of 5
Keywords: rust, live-coding, async, await, concurrency, asynchrony
Id: ThjvMReOXYM
Channel Id: undefined
Length: 154min 1sec (9241 seconds)
Published: Tue Aug 31 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
My next train travel is 2h45minutes long. I know what Iβll be doing !
This is such a useful video! Thank you Jonhoo for making it. I missed the live stream by minutes but I watched all of it after. Giving that Iβm working on an application that needs to maintain a TCP socket, a UDP socket, and a WebSocket this will be super helpful!
This is great, I love Jon's videos, well organized, good pacing keeps them interesting, and explanations are always clear.
I was wondering, in the past I've experimented with portable continuations in other languages. These allow you to suspend some code, move its serialized state elsewhere - perhaps over a network, and resume where it left off. I was able to do this with Scala's (since deprecated) delimited continuations compiler plugin (which roughly provided async/await functionality).
To motivate an example, imaging being able to suspend some execution state on a web server and have it resume in the browser. It would be a true implementation of "move the computation, not the data".
I even built a Scala prototype years ago, but it never got beyond experimentation.
Is something similar possible in Rust?
Sorry to bother (and being offtopic) but mind sharing dotfiles? I'd like to get into rust, but just can't bare the thought of using anything other than vim/neovim. Currently got the usual lua lsp-config/lsp-install setup running, but I've got nowhere near the level of "useful" messages as whats seen on this video.
I recently ve been looking for some tutorials how to properly use async in Rust. I decided to just use threads instead. And here you are!