Liste des Groupes | Revenir à cl c |
On Mon, 29 Apr 2024 18:18:57 +0200, Bonita Montero wrote:Having a single thread and using state machines is more effortz.
But you need multithreading to have maximum throughput since you oftenIn a lot of applications, the bottleneck is the network I/O, or a GUI
process the data while other data is available.
waiting for the next user event, that kind of thing. In this situation,
multithreading is more trouble than it’s worth. This is why coroutines (in
the form of async/await) have made a comeback over the last decade or so.
Les messages affichés proviennent d'usenet.