`\Device\Afd`, or, the Deal with the Devil that makes async Rust work on Windows (2023)
(notgull.net)
from Kissaki@programming.dev to rust@programming.dev on 02 Aug 12:01
https://programming.dev/post/34980115
from Kissaki@programming.dev to rust@programming.dev on 02 Aug 12:01
https://programming.dev/post/34980115
However, there are some important features that WinSock just doesn’t expose. […]
Rust’s current async ecosystem is built atop a particularly cursed concept. It’s an unstable, undocumented Windows feature. It’s the lynchpin of not only the Rust ecosystem, but the JavaScript one as well. It’s controversial. It’s efficient. […] Without it, it’s unlikely that the async ecosystem would exist in its current form. It’s called \Device\Afd, and I’m tired of no one talking about it.
threaded - newest
Very interesting, thank you for posting this!