#![forbid(unsafe_code)]
cargo-fuzz (llvm libFuzzer)Introduction (5 min)
std::future::Future
and poll
and waker
, stackless coroutinesasync fn
=== fn -> impl Future
Pin
poll_write
, AsyncWriteExt async fn write
(not really fn write(…) -> Write + impl Future for Write))Async: async methods in traits (5 min)
Async: cancellation (5-8 min)
futures::select!
Async: executor of your choice (5-12 min)
Async: accindental calls of blocking functions (5 min)
Async: sometimes combinators do not feel 1st class (4 min)
Async: futures might be HUGE (2 min)
std::mem::size_of::<MyFuture>()
, compiler pass for struct sizesCode coverage
export RUSTC_BOOTSTRAP=1
(workaround!)Allocation story
How to speed up the Rust compiler in 2022 (previously 2021, 2020 etc)
Incremental compilation woes