Deutsch English Français Italiano |
<uuv2vl$30fkk$4@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 Subject: Re: matrix.tsk Date: Sun, 7 Apr 2024 21:25:09 -0000 (UTC) Organization: A noiseless patient Spider Lines: 21 Message-ID: <uuv2vl$30fkk$4@dont-email.me> References: <uurnn5$8u9b$1@i2pn2.org> <uutfmt$2l3ag$1@dont-email.me> <uutq6o$bh8u$1@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 07 Apr 2024 21:25:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="edc206e7c881f15813a37489a3e0be36"; logging-data="3161748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hhtV1FmSmejqToNURVaSP" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:8caPbXNcl8D0/cPaOOehBL2KIJA= Bytes: 1810 On Sun, 07 Apr 2024 11:49:08 +0200, fir wrote: > Lawrence D'Oliveiro wrote: > >> Other languages have async/await and event-loop APIs. >> > buiilt in language? Quiet a few, e.g. Python. It provides a standard event-loop API <https://docs.python.org/3/library/asyncio.html> which is pluggable with alternative event loops. For example, every GUI already has its own event loop: simply give that an asyncio-compatible wrapper, and you have the concept of “event-loop-agnostic” code, which can run on any asyncio- compatible event loop. > this call queue is somewhat different thing and its better imo - its > more like lov level and its better integrated. You can build all that on top of an event loop. The nice thing about a generalized event loop is that the result can coexist with other async code.