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=-2.9 required=3.0 tests=BAYES_00,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 26 Feb 2022 21:31:21 -0600 Subject: Re: Comparing languages wrt energy, speed, and memory use Newsgroups: comp.lang.ada References: <0d1a120a-d446-4a15-a1b2-d1b1c5d8b465n@googlegroups.com> From: "25.BX943" <25BZ493@nada.net> Date: Sat, 26 Feb 2022 22:31:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <0d1a120a-d446-4a15-a1b2-d1b1c5d8b465n@googlegroups.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 98.77.165.67 X-Trace: sv3-72V33ZjabH1ITs949kNXmc6gKHVv7v3fCq2PYFkX4UpVxvlQiM0iH7alOWvSyN1aGx1Fh9rKx8fEyl0!sDhVk3I05Pi8GAYM6jCJZ2BRtoH3sbdxmDrq7avuxtxlIRXEq2a1hyBx3VV6AK2aEMmUiG1BnDBi!XmVXfBb9qxG4vR/Bfxc= 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: 2615 Xref: reader02.eternal-september.org comp.lang.ada:63570 List-Id: On 2/20/22 5:59 PM, Jerry wrote: > This paper comparing 27 languages with respect to energy use, speed, and memory use is interesting. Of course Ada fares very well. > > https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sleFinal.pdf > > It is linked from this Slashdot page which I'm sure is full of useless chatter. > > https://developers.slashdot.org/story/22/02/20/0143226/is-it-more-energy-efficient-to-program-in-rust After 30+ years, I started messing around with FORTRAN again. One of the things I noticed in the various help notes online was that programmers were actually comparing the numbers of cycles and executables size for various ways of solving any particular problem. This sort of thinking is rarely seen these days except in the microcontroller universe - and less even there because the RAM/ROM and speed of those devices has increased. ADA is another language where overall "efficiency" gets at least some consideration. With energy costs rising, maybe it's time to see MORE of these discussions and comparisons. Global warming be damned - this is a MONEY issue ! :-) Oh, and rising power costs may disappear the crypto sector. Those boxes full of GPUs calculating like mad - the power usage is stupendous. Once the energy in begins to exceed the value of the Bitcoins out - it's all over.