Tag
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.
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.
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.