From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.159.35.118 with SMTP id 109mr1796957uae.13.1481919242294; Fri, 16 Dec 2016 12:14:02 -0800 (PST) X-Received: by 10.157.37.247 with SMTP id q110mr311004ota.5.1481919242244; Fri, 16 Dec 2016 12:14:02 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!p16no859219qta.1!news-out.google.com!c1ni14810itd.0!nntp.google.com!b123no823221itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 16 Dec 2016 12:14:02 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.192.88.225; posting-account=21X1fwoAAABfSGdxRzzAXr3Ux_KE3tHr NNTP-Posting-Host: 78.192.88.225 References: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <72810892-0614-44aa-803b-2f76b7d36958@googlegroups.com> Subject: Re: C# new features (v.7) From: Hadrien Grasland Injection-Date: Fri, 16 Dec 2016 20:14:02 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32888 Date: 2016-12-16T12:14:02-08:00 List-Id: Le vendredi 16 d=C3=A9cembre 2016 13:43:26 UTC+1, Alejandro R. Mosteo a =C3= =A9crit=C2=A0: > On 16/12/16 08:55, Hadrien Grasland wrote: > > Le jeudi 15 d=C3=A9cembre 2016 13:49:20 UTC+1, Alejandro R. Mosteo a = =C3=A9crit : > >> And tasking? Every time I see C++ people fumbling with low-level > >> semaphores I want to cry. No language (that I know) comes even near Ad= a > >> tasks + protected combo. No wonder multithreading is sold as some kind > >> of miracle when some program uses it properly. > > > > To be fair, Ada has no equivalent to C++'s portable atomics either. C++= these days is mostly marketed as a low-level infrastructure to build perfo= rmance-critical libraries in, whereas Ada is more designed like a high-leve= l end-user solution, and these diverging design goals lead to different des= ign choices. >=20 > Yep, C++ is adding tons of useful thing to the standard libs after the=20 > 11/14 iterations. Actually, with the newest versions you can get rid of= =20 > many bad practices, I'd say it's even very confy to write in. The heavy= =20 > templating and crypotsyntax however still scare me the moment I have to= =20 > check library code. It is quite frustrating, though, how much the C++ commitee favors super-gur= u features catering to the last 5% performance optimization, such as conste= xprs, over basic usability improvements like concepts (C++ finally coming c= lose to understanding Ada 83 generics), modules (C++ compilation finally en= tering the 21st century), the concurrency TS (finally admitting that C++11 = futures were a total clusterfsck), ranges (finally freeing people from the = repetitive and unreadable mess of iterator-based code)...