From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 11 Jul 2021 10:54:27 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Not good for Ada endorsement Date: Sun, 11 Jul 2021 11:54:27 -0400 Organization: IISS Elusive Unicorn Message-ID: <8r4meg1glb6rbnh7aksovavgmcki8q61bf@4ax.com> References: User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-8PSFu6qHBSQLIJrrL8SnVJfAqCPA/pbg6uRcMkChIUAtUO6uqWvimyee8vcqwNC1b2WzdqrJMeMAUYJ!et6c+ofE1xgHT/Rplq4BarDCp7/V0uXaEevAjrYHMRwudTIcX+Efv3LYgGroEu1BvUqm/10c X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2464 Xref: reader02.eternal-september.org comp.lang.ada:62371 List-Id: On Wed, 7 Jul 2021 07:21:55 -0700 (PDT), Richard Iswara declaimed the following: >I haven't seen this posted before so apologies if redundant. >A couple days ago this person posted on YouTube this clip: https://www.youtube.com/watch?v=pv4Yq35Chx0. >In the video it was run against Pascal and Ada lost by being 50% slower than Pascal on Prime Sieving. Also shown as 2 orders of magnitude slower than the fastest implementation of that day. See on video at 20:45. >This is the base implementation link: https://github.com/PlummersSoftwareLLC/Primes/blob/drag-race/PrimeAda/solution_1/src/main.adb. >I know it's trivial, and probably click bait on the video person, but this is not a good PR on Ada reputation. The guy said do a better implementation to get a better score. So can Ada implementation do better? It also showed up on the Free-Pascal group. Though their the concern was relative to a C/C++ implementation. The kicker... Said C/C++ implementation declared practically everything as "constexpr" (or some such), and a Google search indicated that such items are computed BY THE COMPILER! Not at executable run-time. Run-time basically was "yup, we found them all". -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/