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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Alejandro R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: C# new features (v.7) Date: Sat, 17 Dec 2016 01:01:57 +0100 Organization: A noiseless patient Spider Message-ID: References: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> <72810892-0614-44aa-803b-2f76b7d36958@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 17 Dec 2016 00:00:32 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="81a3efecea925c1081567187fa411b2b"; logging-data="10260"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18KhDWYDdCu1rPnkXqn5YCv" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: <72810892-0614-44aa-803b-2f76b7d36958@googlegroups.com> Cancel-Lock: sha1:ga5JyD/KGwxzpDlwmdpjQKRnAbk= Xref: news.eternal-september.org comp.lang.ada:32896 Date: 2016-12-17T01:01:57+01:00 List-Id: On 16/12/16 21:14, Hadrien Grasland wrote: > Le vendredi 16 décembre 2016 13:43:26 UTC+1, Alejandro R. Mosteo a écrit : >> On 16/12/16 08:55, Hadrien Grasland wrote: >>> Le jeudi 15 décembre 2016 13:49:20 UTC+1, Alejandro R. Mosteo a écrit : >>>> 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 Ada >>>> 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 performance-critical libraries in, whereas Ada is more designed like a high-level end-user solution, and these diverging design goals lead to different design choices. >> >> Yep, C++ is adding tons of useful thing to the standard libs after the >> 11/14 iterations. Actually, with the newest versions you can get rid of >> many bad practices, I'd say it's even very confy to write in. The heavy >> templating and crypotsyntax however still scare me the moment I have to >> check library code. > > It is quite frustrating, though, how much the C++ commitee favors super-guru features catering to the last 5% performance optimization, such as constexprs, over basic usability improvements like concepts (C++ finally coming close to understanding Ada 83 generics), modules (C++ compilation finally entering 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)... Totally agreed.