Rust Linz, September 2021 - Yoshua Wuyts - Futures Concurrency in the Future, Maybe

preview_player
Показать описание
One of the capabilities async Rust enables is the ability to easily execute code concurrently. We have solutions for this in the ecosystem, but none yet provided by the stdlib. That’s because there is still a lot of design work left to be done.

In this talk, Yosh will cover a basic model for concurrent execution of futures. Then walk you through the design space of this feature, showing various ways in which it can be implemented. And finally showcase a novel futures concurrency library that ergonomically implements concurrent futures execution in Rust.

Рекомендации по теме
Комментарии
Автор

It reminds me a little bit to the tools and helpers that "bluebird" provided for javascript when Promises weren't as well understood yet. Many of those ideas about async concurrency ended up being adopted natively in pretty much all the well known javascript engines. I like it, I feel this can help a lot to explore new concurrency patterns in rust

juanma
Автор

The joviality in this talk is off the charts!

mithradates
Автор

While ago I saw Josh's async overloading blog. And it was just awesome and immediately made sense.

numtostr
Автор

Thanks yosh for this talks. I like the way you presented the talks. Super simple and awesome

mohitpawar
Автор

Super interesting talk :) Thank you for sharing this. I liked the inline match in the loop statement.

pictureus
Автор

thank you yosh. one question, both are similar but what is the key difference, when to use `ready`
let a = async { 1 }.await;
let a = future::ready(1).await;

subbaraoganeshna
Автор

posting and liking before watching.
it is done. now back to video.

quarkstar
Автор

Hi Yosh, very nice talk. Very inspiring. Can you share the link to your series of blog posts about the topic?

salvatorevitale
Автор

Can we have async I/O traits in std already? I don't want to create a diff implementation for every runtime :(

alanhoff
Автор

Can someone use async and concurrency at the same time?

archangel