async-programming

Tag

Cards List
#async-programming

The Future Trait Has A Missing State

Lobsters Hottest ↗ · 2026-10-29 Cached

A blog post examining the missing post-completion state in Rust's Future trait, discussing how Future::poll panics after returning Poll::Ready and how types like MaybeDone work around it to communicate a future's completed state.

0 favorites 0 likes
#async-programming

C++ futures part 2: The mental model for std::promise, std::packaged_task

The Old New Thing (Raymond Chen) ↗ · 2026-10-13 Cached

A follow-up blog post in Raymond Chen's C++ futures series explaining the mental model behind std::promise and std::packaged_task, showing how a shared 'source' state is managed via shared_ptr and how packaged_task wraps a promise to store call results for retrieval by a future.

0 favorites 0 likes
#async-programming

The case of the progress callback that never got called when progress happened

The Old New Thing (Raymond Chen) ↗ · 2026-09-03 Cached

The article describes a debugging scenario where a progress callback in a C#/C++/WinRT application wasn't triggered due to an intermediate method not reporting progress, and proposes a solution to bypass the middleman.

0 favorites 0 likes
← Back to home

Submit Feedback