Path: csiph.com!news.mixmin.net!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: Wed, 15 May 2024 20:07:03 +0800 Organization: A noiseless patient Spider Lines: 44 Message-ID: References: <20240503180102.00002f98@yahoo.com> <86ikzqtwqr.fsf@linuxsc.com> <86cyppru3q.fsf@linuxsc.com> <126394fbbc6a61aa1257379032ed4fc43689a61c.camel@gmail.com> <744cfb6e16898dc9abcfe20226ba0282d5b3f9b7.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Date: Wed, 15 May 2024 14:07:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="07c1c575085d4be162f7600a3668f3f7"; logging-data="884995"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YFraHQvPrSVxOiufuipM5" User-Agent: Evolution 3.50.2 (3.50.2-1.fc39) Cancel-Lock: sha1:/baaNuMumUUp/5vcGICwJvEGozQ= In-Reply-To: <744cfb6e16898dc9abcfe20226ba0282d5b3f9b7.camel@gmail.com> Xref: csiph.com comp.lang.c++:119129 On Wed, 2024-05-15 at 19:57 +0800, wij wrote: > On Wed, 2024-05-15 at 06:23 +0200, Bonita Montero wrote: > > Am 14.05.2024 um 21:29 schrieb wij: > >=20 > > > Probably. I now still hesitate whether or not I should learn and adop= t C++'s > > > lambda expression. My consideration is that many new features after C= ++11 > > > are not really necessary and the burden may be greater than the gain = for me. > >=20 > > Which features are you thinking about ? > >=20 > > > My concern is that C++ codes typically consumes more memory much less > > > proportional than the speed gain. Basically, time*space=3Dconstant, w= hich > > > is especially observable for computation intensive problems. I am mor= e > > > concerned about the cost of problem solving instead of plain code ana= lysis. > >=20 > > Nearly all Games for Windows are written in C++ >=20 > Then, those game companys are loosing money. >=20 > Nearly all the game companies I know care more about the delivery time ra= ther > than the language choice. I don't mean C++ is bad. There are just many wa= ys to > build game programs. >=20 > > > Generally, I feel software projects within 6-man-month are no differe= nce > > > from the language choice. One can also program assembly as fast. > >=20 > > Assembly is for sure not faster than C++ from a skilled programmer and = a > > good compiler than g++ or clang++. >=20 I would say the goal of (general purpose) high level language should aim to reduce the distance with assembly.