Article View: comp.lang.c
Article #1799Re: Polymorphism (Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper ...
From: Tristan Wibberley
Date: Mon, 23 Nov 2026 06:03
Date: Mon, 23 Nov 2026 06:03
51 lines
4187 bytes
4187 bytes
On 23/11/2026 00:17, Ross Finlayson wrote: > On 11/22/2026 12:12 PM, Tristan Wibberley wrote: >> On 19/11/2026 22:36, Ross Finlayson wrote: >> >>> polymorphic types, for example any of various accounts after vtables yet >>> anyways otherwise according to a block of functions in C, so, >>> function-overloading, >> >> I suppose that concept name would be interpreted for C as it is for C++ >> due to the close relationship between the two (especially with your >> mention of vtables which has strong connotations of what people call >> "polymorphic types" vis-a-vis C++). >> >> However, that's not the only referent and there's a formal CS/mathsy one >> that admits no runtime variation. ... >> How would readers of the groups characterise C++ so-called "runtime >> polymorphism" and that which C programmers would and have often done >> with vtables (GObject, for example), formally? > There are a variety and number of ways to make for "polymorphism" > as after "encapsulation", yet, "polymorphim" refers specifically > to "polymorphism of types", vis-a-vis, a "polymorphic type" Well, the way I see the term being used in CS is not really that, although perhaps the full treatment including dependent types yields something that includes runtime polymorphism as we call it in C++. The concept in CS is early enough that what we use the name for in C++ might be derived from the CS term (early 1970s at least). But the "runtime" part would come entirely from the dependent types combined with polymorphic functions, not from CS polymorphic types if it's even correct to call them that instead of parameterised types. I value some precise distinctivising contentions in this area vis-a-vis C and C++ applications of the concepts because I hope to be able to precisely taxonomise some of the relevant techniques used in C and C++. -- 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:
<11e0l0c$1jpvu$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <niudnUINZp08GGD3nZ2dnZfqn_SdnZ2d@giganews.com> <11dla8a$1p00u$2@kst.eternal-september.org> <11dnb8m$hv1$1@reader2.panix.com> <88mcnftsxdWY52L3nZ2dnZfqn_ednZ2d@giganews.com> <11dviam$18n4p$2@dont-email.me> <1ECdneMw6tyAG572nZ2dnZfqnPGdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.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++,comp.lang.c Subject: Re: Polymorphism (Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)) Date: Mon, 23 Nov 2026 06:03:56 +0000 Organization: A noiseless patient Spider Lines: 51 Message-ID: <11e0l0c$1jpvu$2@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <niudnUINZp08GGD3nZ2dnZfqn_SdnZ2d@giganews.com> <11dla8a$1p00u$2@kst.eternal-september.org> <11dnb8m$hv1$1@reader2.panix.com> <88mcnftsxdWY52L3nZ2dnZfqn_ednZ2d@giganews.com> <11dviam$18n4p$2@dont-email.me> <1ECdneMw6tyAG572nZ2dnZfqnPGdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 23 Nov 2026 06:03:57 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1697790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19X255g4LACr/SA6hZcl0Pff/Bhb2FOdpmAx3qF91wPAQ=="; posting-host="f3ae5d3a9839bbc9868d42f7eef6253b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:CM53fBu55V+Ho90laVLS80ZI6o4= sha256:GvCSBFZ1BCGgJoy3pLLeY2/43MEWB0d5Hc2t5Dx/1K8= sha1:BWXn669u4oK0727WlI1t7IRkZtA= sha256:mCxQlwGZozyR/br+FBKBd0EdeKMMKkezAhJzwshYfnY= Content-Language: en-GB In-Reply-To: <1ECdneMw6tyAG572nZ2dnZfqnPGdnZ2d@giganews.com>