Path: csiph.com!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: wij Newsgroups: comp.lang.c++ Subject: Re: Threads across programming languages Date: Tue, 14 May 2024 20:28:16 +0800 Organization: A noiseless patient Spider Lines: 20 Message-ID: <91d6cfbd026154e9b97e97eccc73eb02e4962d5a.camel@gmail.com> References: <20240503180102.00002f98@yahoo.com> <86ikzqtwqr.fsf@linuxsc.com> <86cyppru3q.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Date: Tue, 14 May 2024 14:28:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="299538cafd44f56ea6cc5a7ab87b4436"; logging-data="153820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mHLUYsI0GuEDjmFP9hr3G" User-Agent: Evolution 3.50.2 (3.50.2-1.fc39) Cancel-Lock: sha1:DvP1ExxqnzJd2uSJkKxmDh/Wsgs= In-Reply-To: Xref: csiph.com comp.lang.c++:119113 On Tue, 2024-05-14 at 14:13 +0200, Bonita Montero wrote: > Am 14.05.2024 um 13:46 schrieb wij: >=20 > > Putting the 'expressivness' aside, I think cpp cannot complete with C a= nd > > Assembly if measuring the compiled code size and speed. But I still lik= e to > > program in cpp for my own reasons. >=20 > C and C++ is not much difference in performance for simple programs. > For complex programs the efford to get high performance in C is enormous > so that often you'd chose simple approaches; for things you do in C++ > alongside. >=20 >=20 It depends.=C2=A0Mostly agreed. I mean=C2=A0if one believes some 'advanced' language/feature WILL make the program also advanced is simply superstitious, not that simple.