Deutsch English Français Italiano |
<v28l1u$2d8vg$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: Fri, 17 May 2024 22:17:34 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <v28l1u$2d8vg$1@dont-email.me> References: <GIL-20240429161553@ram.dialup.fu-berlin.de> <v0ogum$1rc5n$1@dont-email.me> <v0ovvl$1ur12$4@dont-email.me> <v0p06i$1uq6q$5@dont-email.me> <v0shti$2vrco$2@raubtier-asyl.eternal-september.org> <v0spsh$31ds4$3@dont-email.me> <v0stic$325kv$3@raubtier-asyl.eternal-september.org> <v0svtn$32o8h$1@dont-email.me> <v0t091$32qj6$1@raubtier-asyl.eternal-september.org> <v0u90h$3c1r5$4@dont-email.me> <v0v28q$3ku1r$1@raubtier-asyl.eternal-september.org> <v105sc$3skqi$1@dont-email.me> <v10adm$3to7r$1@raubtier-asyl.eternal-september.org> <v124a6$drbu$1@dont-email.me> <v125f4$e2kl$1@raubtier-asyl.eternal-september.org> <v12a4e$f4f1$2@dont-email.me> <v12hf0$gtpa$1@raubtier-asyl.eternal-september.org> <20240503180102.00002f98@yahoo.com> <v13o0b$p9ih$4@dont-email.me> <v15s0l$1al59$1@dont-email.me> <v16o4t$1gbho$4@dont-email.me> <20240505123718.00000503@yahoo.com> <v1rnnq$32md5$1@dont-email.me> <20240513150450.00003030@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 18 May 2024 00:17:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1929e3b91cfdbb249fca9464761618bb"; logging-data="2532336"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VMph+fHFYLKbdu3guW4l6" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:LZ63tnn4dm4VwwM/QrcdvLgZl/g= Bytes: 2513 On Mon, 13 May 2024 15:04:50 +0300, Michael S wrote: > On Mon, 13 May 2024 00:43:38 -0000 (UTC) Lawrence D'Oliveiro > <ldo@nz.invalid> wrote: > >> On Sun, 5 May 2024 12:37:18 +0300, Michael S wrote: >> >> > As a code reader, I very much prefer C, where nested function are not >> > allowed at all. >> >> The GNU C compiler allows them: see my example in the “Recursion, Yo” >> thread. > > Which does not make it legal C. Or good ideea. Worthwhile comparing, though: the one using nested functions is 99 source lines; the one doing it in strictly standard C is 128 source lines. That’s nearly 30% more code to do the same thing.