4 ms·
Can you explain and/or link to the issues? I thought Futures were the abstraction that lets you choose a runtime?
by jeffdavis 6y ago
Can you explain and/or link to the issues? I thought Futures were the abstraction that lets you choose a runtime?
- Rusky 6y agoFutures are part of the answer, and more specifically the way that the Wakers passed to Future::poll use dynamic dispatch to re-schedule the task. Other major abstractions that are missing so far include async versions of the Read and Write traits, a Stream trait for the async equivalent of the Iterator trait, and perhaps a way to spawn new tasks. This series of interviews covers these in more depth: http://smallcultfollowing.com/babysteps/blog/2020/04/30/async-interviews-my-take-thus-far/ http://smallcultfollowing.com/babysteps/blog/2020/04/30/asyn...