Тёмный

RustFest Zürich 2017 - Tokio: How we hit 88mph by Alex Crichton 

Rust
Подписаться 62 тыс.
Просмотров 28 тыс.
50% 1

Async I/O has forever been a hot topic of discussion in Rust, but over the past year we’ve seen some significant advances in this domain with the futures crate an the Tokio project. We’ll start off by taking a look at where we are today with the async I/O ecosystem in Rust, highlighting a number of the features we’ve added in both the libraries and the language over the past year. We’ll then take a deep dive into Tokio itself, seeing how it capitalizes on some of Rust’s greatest strengths by going Back to Futures and gets our DeLorean up to 88mph.
About Alex Crichton:
Alex is a member of the Rust Core Team who has worked at Mozilla on Rust for the past four years. He is also a member of the Tokio Core Team, one of the primary authors of Cargo, helps maintain the standard library, and likes to ensure that engine of Rust never stops.

Наука

Опубликовано:

 

2 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@kidcoder5359
@kidcoder5359 6 лет назад
Disappointed that the talk is not call Fast and Asynchronous: Tokio Drift. But awesome talk, thanks.
@jonarmani8654
@jonarmani8654 3 года назад
I'm disappointed that it wasn't called: You Can't Spell Rust Fest Without Futures
@splittydev
@splittydev 6 лет назад
I always enjoy talks by Alex Crichton. Very professional and knowledgeable guy. Thanks for sharing!
@PaulSebastianM
@PaulSebastianM 5 лет назад
Yes but the pacing is very jittery.
@aiman_yt
@aiman_yt 6 лет назад
This is more informative than tokio documentations
@TheOMGPoPCorn
@TheOMGPoPCorn 5 лет назад
Great talk! Hope I will understand Tokio better in the near future. Futures are cool, but using Tokio just feels like abstracting everything as a stream.
@qhkmdev
@qhkmdev 4 года назад
Futures looks similar to Promise in JS to me
@MarkVolkmann
@MarkVolkmann 3 года назад
A key difference is that Futures don’t automatically start when they are created. They start when await is applied to them. JS Promises start when they are created.
@PaulSebastianM
@PaulSebastianM 5 лет назад
Why isn't anyone using constructive/destructive interference to fix these large hall reverberations?
@dmitrij34
@dmitrij34 6 лет назад
Biff gives sports almanac to himself in the past. Not his father.
@dmitrij34
@dmitrij34 6 лет назад
Nice Presentation BTW :)
@RustVideos
@RustVideos 6 лет назад
We'll make sure that we improve our meme and retro movie training. Alex will have to take it again.
@blackwhattack
@blackwhattack 5 лет назад
@@RustVideos How can I now trust anything he said if he makes a mistake IN THE MOST SUBSTANTIAL IMPACTFUL SUBJECT!!!!!!!!!.
@pm71241
@pm71241 6 лет назад
Could someone enlighten me ... isn't this just Python Twisted for Rust?
@GrayOlson
@GrayOlson 6 лет назад
Not sure what you mean by "just"--most languages have a "future-like" scheme of some sort for async, the point is building the right version of that in rust with the language's goals in mind. Tokio may do a similar thing to python twisted, but given that it's written in rust, it's significantly faster and provides all the great guarantees that rust does--memory safety, safe concurrency, etc etc.
@ac130kz
@ac130kz 5 лет назад
not to mention that Python's queue was not thread-safe before a recent patch....
@peter9477
@peter9477 7 месяцев назад
More like Python's asyncio at least as far as the API goes. Twisted is just callback hell, a bit like JS Promises. They're all forms of async programming, but not all async techniques are created equal.
Далее
Crust of Rust: async/await
2:34:01
Просмотров 183 тыс.
😍😂❤️ #shorts
00:12
Просмотров 671 тыс.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
Rust's Journey to Async/Await
48:46
Просмотров 86 тыс.
RustLatam 2019 - Without Boats: Zero-Cost Async IO
32:24
code::dive 2017 - Alex Crichton - Concurrency in Rust
1:10:16
How Rust Views Tradeoffs
46:34
Просмотров 32 тыс.
Considering Rust
1:03:57
Просмотров 189 тыс.
Traits and You: A Deep Dive - Nell Shamrell-Harrington
22:09
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 1,6 млн