Liste des Groupes | Revenir à cl c |
On Tue, 30 Apr 2024 05:58:31 +0200, Bonita Montero wrote:Using a thread is even more handy.
Am 29.04.2024 um 22:31 schrieb Lawrence D'Oliveiro:It would indeed. That’s why coroutines (async/await) are so handy.
>On Mon, 29 Apr 2024 18:18:57 +0200, Bonita Montero wrote:>
>But you need multithreading to have maximum throughput since you often>
process the data while other data is available.
In a lot of applications, the bottleneck is the network I/O, or a GUI
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.
Having a single thread and using state machines is more effortz.
Les messages affichés proviennent d'usenet.