Högskolan i Skövde

his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Energy consumption of programming languages in machine learning: Comparing compiled and interpreted languages in the context of training machine learning models
University of Skövde, School of Informatics.
University of Skövde, School of Informatics.
2025 (English)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

As machine learning is seeing increased adoption, it is important to consider the sustainability of the technology. Training machine learning models can be resource-intensive, which may lead to high energy consumption. In order to achieve sustainable use, ways of reducing the energy consumption of machine learning is needed. In this study, a quasi-experiment was conducted to compare the energy consumption of the interpreted language Python, and the compiled language C++, in the context of training machine learning models. The energy consumption of both execution and compilation was measured, while also considering the impact of compiler optimization levels.The results showed that there were differences between interpreted and compiled languages in machine learning, however, the differences were smaller than found in previous research. There were also differences between compiler optimization levels, but some levels were more consistent than others. While certain patterns in energy consumption were seen, determining the most energy efficient programming language or optimization level was difficult. The study concluded that the energy consumption can be attributed to factors other than the programming language itself and varies between use-cases.

Place, publisher, year, edition, pages
2025. , p. 32
Keywords [en]
Machine learning, Programming languages, Compiled languages, Interpreted languages, Energy consumption
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:his:diva-25571OAI: oai:DiVA.org:his-25571DiVA, id: diva2:1985392
Subject / course
Informationsteknologi
Educational program
Computer Science - Specialization in Systems Development
Supervisors
Examiners
Available from: 2025-07-24 Created: 2025-07-24 Last updated: 2025-09-29Bibliographically approved

Open Access in DiVA

fulltext(590 kB)158 downloads
File information
File name FULLTEXT01.pdfFile size 590 kBChecksum SHA-512
b4ef499e66f3595d5d3861c79aaacfb5cc31fdf2afde211634b6b795dbeb9c3839abb8534b1d94fae8eabc476aeee37054a5049ca7b397e3135c0473b5756a7c
Type fulltextMimetype application/pdf

By organisation
School of Informatics
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 160 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 245 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf