News for hackers. Stuff that matters.
Re:Async Rust Is A Bad Language by mrkline on Friday September 08, 2023 @12:50PM (#37436097)
It's great! But there's nothing about it that requires futures.

It really annoys me that something like this isn't built-in: https://github.com/mrkline/channel-drain

Re:Async Rust Is A Bad Language by tel on Friday September 08, 2023 @01:15PM (#37436437)
That works for channels, but being able to wait other asynchronous things is better. Timeouts for instance.

We could imagine extending this to arbitrary poll-able things. And now we have futures, kind of.