Article View: comp.lang.c
Article #2261Re: Iterators over slices and views and ranges analogs in C
From: Keith Thompson
Date: Sun, 06 Dec 2026 00:56
Date: Sun, 06 Dec 2026 00:56
62 lines
4399 bytes
4399 bytes
Ross Finlayson <ross.a.finlayson@gmail.com> writes:
> On 12/04/2026 05:22 PM, Keith Thompson wrote:
>> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
>>> On 12/04/2026 03:00 PM, Keith Thompson wrote:
>>>> Ross Finlayson <ross.a.finlayson@gmail.com> writes:
[...]
>>>>> Thanks for writing. The _Generic construct was implemented for quite
>>>>> a while before C11, yes that it's in C11.
>>>>
>>>> Implemented by whom? When? In what release?
>>>>
>>>> I would greatly appreciate a *brief* answer to these questions.
>>>> I expect your reply will include lengthy digressions, but please
>>>> include one short sentence or paragraph that clearly and directly
>>>> answers the questions I just asked.
>>>>
>>>> I just took a look at gcc's git history. The _Generic keyword did
>>>> not exist before commit 433cc7b037f, 2013-07-23. The first release
>>>> with that change was 4.9.0, released 2014-04-22.
>>>>
>>>> llvm/clang introduced _Generic in release 3.0.0, late 2011.
>>>>
>>>> There are of course compilers other than gcc and clang, but it
>>>> certainly doesn't appear to be the case that _Generic was widely
>>>> implemented before the C11 standard was published.
>>>
>>> Let's get it right and move on.
>>>
>>> It's not like I can blame a bot or scuttlebutt for
>>> something I didn't verify myself.
>>
>> It sounds like you're admitting that you were wrong, but you haven't
>> quite said so.
>>
>> You claimed that "The _Generic construct was implemented for quite a
>> while before C11". Are you now acknowledging that that was incorrect?
>> If so, what made you think that was the case? Was it just a guess?
[...]
> It's so that I picked up that mistaken impression from a sprawling
> bot-chat about these things last week, and, relayed it, so, my fault,
> since in talking about these things with the bot, involves figuring
> out conformance, of a language profile.
If I understand correctly, you picked up the idea that _Generic had
been implemented before C11 from some "bot-chat", and then posted
it here as if it were a fact.
Keep in mind that you're communicating here with people who know
C and its history because we've actually studied it.
I find most of what you post here to be gibberish, and I ignore
it, but in this case you made a straightforward statement -- and
it was wrong, because you rely on gibberish from "some bot-chat"
for your information.
Don't do that.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Technical Details
Message-ID:
<11f2br3$3g440$1@kst.eternal-september.org>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mailReferences:
<-kGdnSzB4bWEM4z2nZ2dnZfqn_WdnZ2d@giganews.com> <11esd12$mfam$1@raubtier-asyl.eternal-september.org> <11et39b$rj55$1@news.xmission.com> <11ett3b$1a41p$1@dont-email.me> <11euadh$1gp4t$1@dont-email.me> <11euckd$1ht9i$1@raubtier-asyl.eternal-september.org> <11eugtg$erg$4@dont-email.me> <11euj8b$1lhf1$1@dont-email.me> <i5-dnSCmSLz7R4_2nZ2dnZfqnPqdnZ2d@giganews.com> <11eupvu$1p0q1$1@dont-email.me> <0HydndKd_6bFbY_2nZ2dnZfqn_GdnZ2d@giganews.com> <11evglo$241mc$1@kst.eternal-september.org> <EVidnbIAl4o3x472nZ2dnZfqn_adnZ2d@giganews.com> <11evp1b$28s34$1@kst.eternal-september.org> <fZGdncHCRsEfmYn2nZ2dnZfqn_SdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!kst.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.lang.c Subject: Re: Iterators over slices and views and ranges analogs in C Date: Sat, 05 Dec 2026 16:56:03 -0800 Organization: None to speak of Lines: 62 Message-ID: <11f2br3$3g440$1@kst.eternal-september.org> References: <-kGdnSzB4bWEM4z2nZ2dnZfqn_WdnZ2d@giganews.com> <11esd12$mfam$1@raubtier-asyl.eternal-september.org> <11et39b$rj55$1@news.xmission.com> <11ett3b$1a41p$1@dont-email.me> <11euadh$1gp4t$1@dont-email.me> <11euckd$1ht9i$1@raubtier-asyl.eternal-september.org> <11eugtg$erg$4@dont-email.me> <11euj8b$1lhf1$1@dont-email.me> <i5-dnSCmSLz7R4_2nZ2dnZfqnPqdnZ2d@giganews.com> <11eupvu$1p0q1$1@dont-email.me> <0HydndKd_6bFbY_2nZ2dnZfqn_GdnZ2d@giganews.com> <11evglo$241mc$1@kst.eternal-september.org> <EVidnbIAl4o3x472nZ2dnZfqn_adnZ2d@giganews.com> <11evp1b$28s34$1@kst.eternal-september.org> <fZGdncHCRsEfmYn2nZ2dnZfqn_SdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sun, 06 Dec 2026 00:56:04 +0000 (UTC) Injection-Info: kst.eternal-september.org; logging-data="3674240"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+akFoKjqWSmcViiZ3RiypB"; posting-host="135341f2e834ef23c832f8cdb3d67acf" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:LoHYBr5nIj5zbrjJpWCDItjQ21g= sha256:h3H/MQMxaH/YieIvDDe8zzc0oYl33kW4qPWfA35v8ms= sha1:NcO/JiYd2bPJMDkPEj6ehgjezX0= sha256:xGpYn4dyLD5JYSxot8G4se8dNEoX/YQsxHaxjQFoPhU=