Article View: comp.lang.c
Article #1697Re: Inversion-of-control and dependency-injection in C
From: Tristan Wibberley
Date: Fri, 20 Nov 2026 14:00
Date: Fri, 20 Nov 2026 14:00
28 lines
3015 bytes
3015 bytes
On 16/11/2026 20:20, Ross Finlayson wrote: > Why don't they just call std::coroutine "fiber"? a) coroutines are a specific thing that existed already a very very long time ago b) C++ coroutines are a specific restriction on that thing which MS "fiber"s are not c) "fiber"s have some special interaction with thread_local and OS task CoEs which I read is not what c++ requires/assumes (even though it cannot reasonably require what it does universally). d) "fiber" names whatever MS chooses it to name at whatever time MS chooses, so it isn't a sufficiently deterministic reference. -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID:
<11dpjqg$37fna$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com> <11d56gl$3ud5q$1@dont-email.me> <11d6vjp$qhu8$1@raubtier-asyl.eternal-september.org> <dsednTD-Fblclmr3nZ2dnZfqnPWdnZ2d@giganews.com> <11d738r$ru7a$1@dont-email.me> <11d75i7$spj0$1@dont-email.me> <11d7c8k$173nk$1@dont-email.me> <11d7fbv$1839o$2@dont-email.me> <nrecnTdvuvbACWr3nZ2dnZfqn_adnZ2d@giganews.com> <11dfgtf$3pj6i$1@raubtier-asyl.eternal-september.org> <dmKdnV8-pPdQ_Gb3nZ2dnZfqnPadnZ2d@giganews.com> <bCOdnXeY-Pku-Gb3nZ2dnZfqn_adnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> Newsgroups: comp.lang.c Subject: Re: Inversion-of-control and dependency-injection in C Date: Fri, 20 Nov 2026 14:00:48 +0000 Organization: A noiseless patient Spider Lines: 28 Message-ID: <11dpjqg$37fna$1@dont-email.me> References: <yQOdnQ-qnKiiZ2j3nZ2dnZfqn_udnZ2d@giganews.com> <11d56gl$3ud5q$1@dont-email.me> <11d6vjp$qhu8$1@raubtier-asyl.eternal-september.org> <dsednTD-Fblclmr3nZ2dnZfqnPWdnZ2d@giganews.com> <11d738r$ru7a$1@dont-email.me> <11d75i7$spj0$1@dont-email.me> <11d7c8k$173nk$1@dont-email.me> <11d7fbv$1839o$2@dont-email.me> <nrecnTdvuvbACWr3nZ2dnZfqn_adnZ2d@giganews.com> <11dfgtf$3pj6i$1@raubtier-asyl.eternal-september.org> <dmKdnV8-pPdQ_Gb3nZ2dnZfqnPadnZ2d@giganews.com> <bCOdnXeY-Pku-Gb3nZ2dnZfqn_adnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 20 Nov 2026 14:01:06 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3391210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xAL16qJO1RSSx2klzWr2tiZ3DEPxXUpfj07OmNvsDjA=="; posting-host="81c55cb3b1d01a17eb136b8d36eaef7e" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:5/hh1RzOWNiIkUnPkH9oiR6aoiA= sha256:7kWIrYh9Xjqqz+tvS4tEkd0TBaLIE0WfbxL5yyZpYwc= sha1:jxBpMDp6UjRfBJn/zgL0Mp4QK7Y= sha256:ouPdjri81F108ZJrMIZSYTsTwECrmg5IbsUNpU9GCrw= In-Reply-To: <bCOdnXeY-Pku-Gb3nZ2dnZfqn_adnZ2d@giganews.com> Content-Language: en-GB