3 ms·
Async IO is not only about creating sockets and spawning threads. Idea of async IO is that the world is not controlled by your CPU. There are network, storage,
by ivanjermakov 2y ago
Async IO is not only about creating sockets and spawning threads. Idea of async IO is that the world is not controlled by your CPU. There are network, storage, sound devices that might and will take time to produce the result and the CPU has to wait for it.
I feel like there is a big misunderstanding about what async IO is and what problem it solves.
- scotty79 2y agoDoesn't message passing capture this essence better?
- ivanjermakov 2y agoMessage passing, channels, thread pool, callbacks, polling - there are many ways to implement async IO and async computation in general.