Deutsch English Français Italiano |
<v0p02j$1ur12$5@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Mon, 29 Apr 2024 20:31:15 -0000 (UTC) Organization: A noiseless patient Spider Lines: 9 Message-ID: <v0p02j$1ur12$5@dont-email.me> References: <GIL-20240429161553@ram.dialup.fu-berlin.de> <v0oh9f$1rdff$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 29 Apr 2024 22:31:15 +0200 (CEST) Injection-Info: dont-email.me; posting-host="04215bbbe15e1cd8ac94ba1cee5d62b8"; logging-data="2059298"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kqm6zS9ngmBBDwI8+6lOJ" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:L/afx1JyWCNOylbOHPt/usvYm/c= Bytes: 1517 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.