~/talk

C++, C#, Rust or Python - Which is the Best Choice for Low Energy Consumption?

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp]
slides:none on file

Reproduces benchmarks for Monte Carlo pi with 10 million samples and an Adler‑32 checksum on 50 MB, measures energy via Code Carbon (RAPL/Intel PCM fallback) on WSL, and publishes code on GitHub. Results show compiled languages like C/C++/Rust use the least energy while Python uses the most, energy correlates with runtime not memory, per‑run variability is ~±0.5 normalized units, and moving from Germany to Norway cuts CO2 by about a factor of 10.

AI-written summary · about

  1. 0:00Green programming challenges
  2. 5:20Green software principles
  3. 9:11Language energy efficiency research
  4. 11:59Energy measurement experiments
  5. 17:33Energy and CO2 tracking setup
  6. 27:24Monte Carlo pi results
  7. 30:35Adler-32 results
  8. 31:40Optimization strategies
  9. 35:13Energy measurement tools
  10. 37:18Hardware impacts
  11. 41:57Greener software steps
  12. 47:00Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.