Which Programming Languages Use the Least Electricity? (2018)
1–10 of 267 posts
Re: Which Programming Languages Use the Least Electricity? (2018)
#2Re: Which Programming Languages Use the Least Electricity? (2018)
#3Re: Which Programming Languages Use the Least Electricity? (2018)
#4For example, Javascript and Typescript. Theoretically, I would assume those to be very close, since one compiles to the other. And for memory usage, they are very close. But for running time, Typescript is an order of magnitude slower. That looks suspiciously like entirely different algorithms were used in each implementation (with one being obviously superior in terms of performance), and if that's happening in this specific case, where else is it also causing problems in the analysis?
Re: Which Programming Languages Use the Least Electricity? (2018)
#5Interesting results, but I think the farther you go down the list the more the fact that you're using the Computer Language Benchmark Game affects what you're seeing, as not all languages get the same attention. For example, Javascript and Typescript. Theoretically, I would assume those to be very close, since one compiles to the other. And for memory usage, they are very close. But for running time, Typescript is an…
Re: Which Programming Languages Use the Least Electricity? (2018)
#6Re: Which Programming Languages Use the Least Electricity? (2018)
#7Re: Which Programming Languages Use the Least Electricity? (2018)
#8Re: Which Programming Languages Use the Least Electricity? (2018)
#9Which lisp? Those numbers don't seem right from my experience with SBCL.
The LISP evaluated by the Benchmark Game - and, apparently, this paper - is indeed SBCL [3], which seems about on par with Java.
“Lisp, on average, consumes 2.27x more energy (131.34J) than C, while taking 2.44x more time to execute (4926.99ms), and 1.92x more memory (126.64Mb) needed when compared to Pascal.”
[1] https://sites.google.com/view/energy-efficiency-languages/ho...
[2] https://github.com/greensoftwarelab/Energy-Languages
[3] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Re: Which Programming Languages Use the Least Electricity? (2018)
#10PHP's performance is quite impressive nowadays. It's one of the top fastest interpreted languages.