Article View: comp.lang.c++
Article #938Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
From: Ross Finlayson
Date: Thu, 19 Nov 2026 16:27
Date: Thu, 19 Nov 2026 16:27
177 lines
9541 bytes
9541 bytes
On 11/19/2026 08:17 AM, Ross Finlayson wrote: > On 11/19/2026 07:14 AM, Ross Finlayson wrote: >> On 11/19/2026 05:36 AM, Janis Papanagnou wrote: >>> On 2026-11-19 13:33, David Brown wrote: >>>> >>>> To the limited extent that his posts seemed clear to me, he had been >>>> talking about the imaginary single language that compilers "treat as >>>> being the same". It does not appear that he understands that they are >>>> two different languages sharing a common subset, and that they are >>>> often used in very different ways. So if he was clear, he was clearly >>>> wrong. But maybe I (and others) have misunderstood him. It would be >>>> helpful if he clarified things, and said that he now understands what >>>> Keith and I wrote. Once we get on common ground, maybe we can move >>>> forward. But I am not holding my breath. >>> >>> It may be that I've read past some "formally wrong" statements he made. >>> It's that I usually try to understand what one wants to express beyond >>> how it's actually formulated. - Maybe it's what (I think) Dan has once >>> formulated; that it might distract the discussion if one isn't focused >>> on the topic but more concerned about "exact" representation. - I think >>> that observation is worthwhile to think about! - But I also know that >>> some folks - you know who they are! - are now tempted to point out the >>> very importance of exact representation. That's also not wrong but it's >>> missing the point made.[*] >>> >>> Janis >>> >>> [*] I tried anticipating that point to prevent unnecessary replies. >>> >> >> I'm a formalist, meaning, representation theory is part of model theory, >> about language and interpretation. >> >> It's like this hypothetical sort of conversation for example. >> >> "Here's this project you'll be working on, here are the sources." >> >> "I see the identifiers are Pascal-style." >> >> "Yes, this code was long-ago first written in Pascal." >> >> "I see all these .c and .cpp files." >> >> "Yes, those are C and C++ sources." >> >> "Then, those are in the C language and the C++ language." >> >> "Yes, it's C/C++." >> >> "What do you call this?" >> >> "Windows." >> >> >> >> gcc -std=C11 | gcc -std=C++11 >> >> >> "How about this one?" >> >> "Oh that's Linux, it was written all in C, yet recently they started >> letting in this 'Rust', which has a very strange way of looking at >> over-riding the declarations of identifiers and re-using them in >> block-scope about the statement block. That's mostly due Google/Android >> and making everything more polyglot so eventually >> they'll fall under their LLVM/MLIR fiefdom to compile all this >> polyglotty." >> >> "Hm, what tooling am I going to need for that?" >> >> "Yeah I don't know, all we have here is gcc. Though, there is an >> idea they're moving from C90 to C99 in 2026." >> >> >> >> >> I'm a formalist, and accept and even invite correction: >> Aristotle will not be made a fool, and Hegel will not be made a liar. >> >> >> Then, "C/C++" is any code-base with both C and C++ sources, >> which most accounts of systems-programming employing C++ include. >> >> > > > "What are all these .cs files in the application/tool builds?" > > "Well you see there was this language including a model of the > virtual machine called Java, which was originally for set-top > television-boxes with ideas of a virtual layer above the hardware > and both an account of memory-reclamation called the garbage collector > and also an account of security-layer called the security manager, > so that mis-behaved applications couldn't access system files and > that simply-implemented accounts of scope & state in the runtime > would have their resources cleaned up." > > > "Yeah, so?" > > "So anyways this shop over here had a bunch of products called > 'VB' and later 'VBA' that according to their component model > called 'OLE' later 'OLE2' that morphed up to 'COM' and 'ActiveX' > and 'DCOM' made for components in these systems, yet, that shop > over there was making 'Java Beans' about things like 'CORBA', > about the distributed-world of things, anyways these shops were > eating each other's lunch. So, this shop over here basically > decided to wrap up these ideas into something called a 'Common > Language Runtime' which they sort of branded '.NET' which has > a common sort of intermediate language for a virtual machine > called 'IL' intermediate-language, then one of the dialects > they worked up out of that was called 'C-sharp', besides some > things like 'F-sharp', then basically glommed it all together, > so basically you can expect that these .cs files are C#, > and they act pretty much like Java." > > > "So, ...." > > > "So a bunch of the industry started requiring Java for everything > because mostly since it was so well-designed the language overall > and it had the account of strong-types then this memory-helper bit, > and it was write-once-run-everywhere, then though with the advanced > language features that got all bloated into framework and a bunch > of different frameworks basically with this 'Spring' outfit sitting > on top of 'Java', it's unavoidable in a bunch of different systems > in the enterprise since these things." > > "Yeah so what." > > > "Well you see then some people think easier (more easily) when the > language doesn't make them speak 'correctly' according to the theory of > strong types, then in the explosion of code all over the place, there > were a bunch of accounts of languages and runtimes like JavaScript after > Perl and Ruby and Python, these languages being interpreted instead of > compiled to an intermediate representation for a virtual machine or > compiled to machine code and objects that basically communicate with the > system according to the calling conventions more than less designed for > C, and all those then have various accounts of how they use C, except > JavaScript, which mostly runs in the browser yet then later coders > knowing that started to use it for processes themselves. Then a bunch of > newer languages like Go since Ruby > and Kotlin minimizing Java, Zig, that Rust again, pretty much > compiling directly to the C or Java interfaces." > > > "So, what's this then?" > > "Well, it pretty much resolves to C, ..., all these languages at > least in part have "C-like syntax", if they're not making idioms > for regular expressions or shell-script familiarity and these kinds > of things, then they pretty much got their object-orientation from > C++ instead of things like SmallTalk or then that Java was everywhere, > so pretty much resolves to C++ with though the idiom of Java widely." > > > "So, is this C/C++?" > > "Oh no, only C/C++ is C/C++." > > > > "How do we build all this stuff?" > > "Oh, you run it in the shell." > > > "What's this m4 preprocessor?" "Oh, it's included in both C and C++ and runs before anything else."
Technical Details
Message-ID:
<uhOdnWpFo_YFvmL3nZ2dnZfqn_oYUQxr@giganews.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me> <pimdnUKCD4LIRGf3nZ2dnZfqnPWdnZ2d@giganews.com> <11depuh$3gu10$1@dont-email.me> <gLmdnYGfb6w4cmf3nZ2dnZfqn_GdnZ2d@giganews.com> <11df2i3$3k156$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <11djsoh$17he7$1@dont-email.me> <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com> <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me> <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me> <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me> <11dmu0s$s03n$10@dont-email.me> <gPKdnfoYZqnLj2L3nZ2dnZfqnPudnZ2d@giganews.com> <kP-cnUoNXsWkvGL3nZ2dnZfqnPadnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 19 Nov 2026 16:28:08 +0000 Subject: Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?) Newsgroups: comp.lang.c++,comp.lang.c References: <11cj4a0$23796$1@dont-email.me> <11d82gp$1f70n$1@dont-email.me> <11dc7da$2nu91$1@dont-email.me> <pimdnUKCD4LIRGf3nZ2dnZfqnPWdnZ2d@giganews.com> <11depuh$3gu10$1@dont-email.me> <gLmdnYGfb6w4cmf3nZ2dnZfqn_GdnZ2d@giganews.com> <11df2i3$3k156$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <11djsoh$17he7$1@dont-email.me> <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com> <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me> <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me> <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me> <11dmu0s$s03n$10@dont-email.me> <gPKdnfoYZqnLj2L3nZ2dnZfqnPudnZ2d@giganews.com> <kP-cnUoNXsWkvGL3nZ2dnZfqnPadnZ2d@giganews.com> From: Ross Finlayson <ross.a.finlayson@gmail.com> Date: Thu, 19 Nov 2026 08:27:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <kP-cnUoNXsWkvGL3nZ2dnZfqnPadnZ2d@giganews.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <uhOdnWpFo_YFvmL3nZ2dnZfqn_oYUQxr@giganews.com> Lines: 177 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-MEYRY7CYBm39KLiCA8LqZ5ZK8VDqeyTAORxRglSCKLnwlc22/N9AAntk+nqgsue7uyQ1pMqnb6snq1k!4F1Nyr1jjkMn7j+7BW8umZp3MfTrcA3yuTZ/zpzxl+hnA6MYMsXcldEkADHwxT8HYnHXxbuDdaNU X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40