Skip to content
0:00 / 0:00

#asyncawait#pinning#zero-costabstractions

RustLatam 2019 - Without Boats: Zero-Cost Async IO

Rust Programming Language

70K subscribers • 43 videos on Hallway • Conference channel

YouTube
  • Recommended by 5 people: 5 on Hacker News.
  • Presented by Without Boats, Rust Core Team member

Advanced. Deep dive for people who know the field.

54K views7 years ago5 recommendations

Programming languagesSystems programmingRustConcurrency and parallelismPerformance and optimization

Without Boats explains the design constraints and history behind Rust's zero-cost, allocation-free async/await state machines.

Boats is a member of the language design, library, and cargo teams of the Rust Project. They are Senior Research Engineer working on Rust for Mozilla Research. Contributing to Rust since 2014, they've done design work for significant language extensions like generic associated types and constant generics. For the last year, Boats has been focused on adding async/await syntax for non-blocking I/O to Rust. Follow us on Twitter: twitter.com/rustlatamconf

Why it's here

5 people recommend this

What people say. Recommended as an excellent explanation of the design, history, and mechanics of Rust's async/await and pinning.

sgroveon Hacker News • Recommends

On “Update on await syntax in Rust”

…) - Language authors had to think about how the borrow checker would work across async points, and whether to invest in changing the language to make that possible. - and so on and so on I really loved this talk by Without Boats (the author of the friendly article) going over all this stuff, really gave me a good sense of what they were up against link to this video…

holy_cityon Hacker News • Recommends

On “A final proposal for Rust await syntax”

That document isn't about arguing one way or the other, it lists all the different options and pros/cons. The post thread is the current stance of the lang team and letting everyone know they're going to make the final decision later this month. Boats' keynote at rust-latam goes into some more detail as well. link to this video I'm just a casual observer here, but it seems like just about every argument and position on the subject has been iterated across Github, internals.rust-lang.org, the IRC/Discourse/Zulip chats, Reddit, and now HN. This post by boats is just the next stepping stone alerting the community to the direction the team is leading and that it's going to be over soon.

AlexanderDhooreon Hacker News • Recommends

On “Why async fn in traits are hard”

I don't know anything about Kotlin, but if you are interested in the Rust story (history and evolution) this is an interesting talk: RustLatam 2019 - Without Boats: Zero-Cost Async IO link to this video

teddycon Hacker News • Recommends

On “Ask HN: Best Talks of 2019?”

I thought this talk about Async in Rust was pretty cool (RustLatam 2019 - Without Boats: Zero-Cost Async IO): link to this video

xiphias2on Hacker News • Recommends

On “I can't keep up with idiomatic Rust”

I was referring to the fact that it is the only async implementation that I know of that compiles to a state machine that doesn't need to allocate new memory for each continuation. I think it will translate to extremely fast web services in practice. Pinning is of course part of the elegant solution. There are some great videos about it: link link to this video