AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Differences Between JavaScript and Node
Rust uses a poll-based model instead. So you have to have something that decides that it checks whether or tries to make progress on some computation. In Rust, that is what we often call an executor. Mio abstracts over multiple different operating systems and basically gives you a way to tell the operating system, here are a bunch of things I care about. Let me know if anything happens to any of them. Tokyo combines the combines Mio with the future trait in such a way that a future can say, I'm blocking on this resource. And here's how you tell me to wake up later.