🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1921

Re: C and its peasant 'ancestors'

#1921
From: Janis Papanagnou
Date: Sat, 28 Nov 2026 10:13
43 lines
4096 bytes
On 2026-11-28 07:26, Bonita Montero wrote:
> Am 28.11.2026 um 06:50 schrieb Lawrence D’Oliveiro:
> 
>> And yet C-based Git seems to be more actively maintained and improved
>> than C++-based Monotone.
> 
> All modern compilers are implemented in C++. The same goes for all web
> browsers. Both are certainly one or two orders of magnitude more complex
> than Git.
> 
>> And of course it can cope with much larger projects more efficiently.
> 
> No, C++ is more efficient because C makes it very difficult to
> handle more complex and efficient data structures. Take `map<>`
> or `unordered_map`, for example. Or look at what I showed recently:
> the performance of `sort()` compared to `qsort()`—a factor of six.
> I could go on indefinitely with examples like this—things that are
> handled effortlessly in C++, but which would take days to implement
> with the same level of efficiency in C.

Bonita, you slog away with that unnecessarily. LDO obviously misses
the difference of good and bad designs of specific implementations
(comparing apples with oranges), and Fir's communication is anyway
beyond all hope. It's obviously difficult (in a "C" newsgroup) to
explain the advantages of modelling software using OO-abstractions
and high-level (yet efficient) libraries to people that, both, lack
that experience and missing the skills to recognize that. You will
do yourself (and the audience here) a favor to stop that lost cause.
(A better place would be the C++ newsgroups; there you don't need to
do all those - here fruitless - missionary efforts.)

Concerning the point of C++'s ugly syntax; that's specifically funny
because the base was inherited by "C". C++ extensions were done in a
consistent way based on that. Only the newer standards' inventions I
consider to be adding their own syntactic ugliness. But all that is
anyway no real argument if you compare that to "C" which is lacking
all the modelling capabilities of C++.

The languages' application areas seem to be different. But if all we
have is a (C-)hammer... ;-)

Janis
Technical Details
Message-ID: <11ee9g4$1c0gl$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-mail
References: <11dup6q$v4j9$1@dont-email.me> <11e0kde$1jpvu$1@dont-email.me> <11e0r13$1lqm6$1@dont-email.me> <11e0uc0$1mtpv$1@raubtier-asyl.eternal-september.org> <11e7fj4$37l9$1@dont-email.me> <11e8oro$ft4l$1@raubtier-asyl.eternal-september.org> <11e8stp$hajr$1@dont-email.me> <11e8ti0$hhqa$1@dont-email.me> <11e8v24$i2mc$2@raubtier-asyl.eternal-september.org> <11e9045$ihk3$1@dont-email.me> <11e90a8$ikh0$1@dont-email.me> <11e90mv$io87$2@raubtier-asyl.eternal-september.org> <11e91ns$j5dv$1@dont-email.me> <11e92ff$jclo$1@raubtier-asyl.eternal-september.org> <11e95j2$kimu$1@dont-email.me> <11e96aa$kpta$1@raubtier-asyl.eternal-september.org> <11ect54$20qpr$3@dont-email.me> <11edmpn$2938p$1@raubtier-asyl.eternal-september.org> <11edq2p$29u38$2@dont-email.me> <11eds5u$2ahsb$1@raubtier-asyl.eternal-september.org>

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: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c
Subject: Re: C and its peasant 'ancestors'
Date: Sat, 28 Nov 2026 11:13:24 +0100
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <11ee9g4$1c0gl$2@dont-email.me>
References: <11dup6q$v4j9$1@dont-email.me> <11e0kde$1jpvu$1@dont-email.me>
 <11e0r13$1lqm6$1@dont-email.me>
 <11e0uc0$1mtpv$1@raubtier-asyl.eternal-september.org>
 <11e7fj4$37l9$1@dont-email.me>
 <11e8oro$ft4l$1@raubtier-asyl.eternal-september.org>
 <11e8stp$hajr$1@dont-email.me> <11e8ti0$hhqa$1@dont-email.me>
 <11e8v24$i2mc$2@raubtier-asyl.eternal-september.org>
 <11e9045$ihk3$1@dont-email.me> <11e90a8$ikh0$1@dont-email.me>
 <11e90mv$io87$2@raubtier-asyl.eternal-september.org>
 <11e91ns$j5dv$1@dont-email.me>
 <11e92ff$jclo$1@raubtier-asyl.eternal-september.org>
 <11e95j2$kimu$1@dont-email.me>
 <11e96aa$kpta$1@raubtier-asyl.eternal-september.org>
 <11ect54$20qpr$3@dont-email.me>
 <11edmpn$2938p$1@raubtier-asyl.eternal-september.org>
 <11edq2p$29u38$2@dont-email.me>
 <11eds5u$2ahsb$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 28 Nov 2026 10:13:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1442325"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19Uqtvtg9nyIM7dowJc2w/T"; posting-host="fa122b3fab6d54cf1e0c821ae1a8a9af"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fW9VOL41nLvc93P73nWF+cE7Gwg= sha256:5vzpD209CD6AoEZzkK5OS+0kWhfLZxLGDbgANcj8GLA=
	sha1:mjHIl3lqFMmRbov0pczWVuIF1as= sha256:QRe42PVy7Iuorq8OCwtvZ4C/Yi7aeQCR1AQgp7xNkPc=
Content-Language: en-US
In-Reply-To: <11eds5u$2ahsb$1@raubtier-asyl.eternal-september.org>