Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 19 submissions in the queue.
posted by janrinok on Saturday November 20 2021, @10:03PM   Printer-friendly
from the is-it-cost-effective dept.

This paper is from 2017, however, I found it interesting and thought our community would also find this worthy of discussion ...

Have you ever wondered if there is a correlation between a computer's energy consumption and the choice of programming languages? Well, a group Portuguese university researchers did and set out to quantify it. Their 2017 research paper entitled Energy Efficiency across Programming Languages / How Do Energy, Time, and Memory Relate? may have escaped your attention, as it did ours.

The team used a collection of ten standard algorithms from the Computer Language Benchmarks Game project (formerly known as The Great Computer Language Shootout) as the basis for their evaluations.

Last year they updated the functional language results, and all the setups, benchmarks, and collected data can be found here. Check out the paper for more details. Have your choice of programming language ever been influenced by energy consumption?

hackaday.com


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Sunday November 21 2021, @02:18PM

    by Anonymous Coward on Sunday November 21 2021, @02:18PM (#1198320)
    And that native code is still unoptimizable compared to both native c and assembler. It's one reason nobody uses the gcc java-to-c compiler.. It's not quite slow enough to finish running before the heat death of the universe, but it's an indication of the true overhead of java converted to native code - there's too much useless code to support it because you can't take the shortcuts in java that you can in c, and java single inheritance and everything is a class is a shit flawed design.