World Congress 2023 • Oct 23, 2023

11 Tips for Greener Code

Kent Simonsen

A single petabyte of dormant data consumes 19 megawatt-hours annually. Discover eleven tactical programming decisions to drastically reduce your cloud spend and carbon footprint.

Pause
Mute Enter Fullscreen
#1 about 1 min

The environmental impact of software engineering

Software engineering and cloud infrastructure contribute significantly to global carbon emissions.

#2 about 3 min

Setting goals and measuring carbon emissions in software

Making green code a non-functional requirement relies heavily on specific measurement tools and micro-benchmarking experiments.

#3 about 1 min

Eliminating unused data and reducing cloud resource waste

Removing inactive code and unused data directly cuts energy consumption and overall cloud computing footprints.

#4 about 2 min

Optimizing testing tools and continuous integration pipelines

Adding test timeouts and avoiding unnecessary parallel builds reduces processing time and excessive energy use.

#5 about 2 min

Adopting serverless architectures and deleting idle storage data

Scaling down idle processes with serverless paradigms and deleting unused data storage prevents massive electricity waste.

#6 about 1 min

Balancing hardware efficiency with manufacturing carbon footprints

Understanding the carbon costs embedded in manufacturing dictates when to replace servers versus personal devices.

#7 about 2 min

Minimizing loop operations and reducing network data transfer

Moving variable initializations outside loops and switching from verbose data structures to strict formats drastically curbs resource usage.

#8 about 2 min

Implementing efficient deserialization code and programming algorithms

Replacing reflection-based parsing with custom deserializers and selecting energy-efficient programming languages lowers core system overhead.

Matching moments

1:49 min

Coding for environmental sustainability in software engineering

Ulrich Irnich Ulrich Irnich · World Congress 2023

4:09 min

Implementing architectural best practices for sustainable software systems

Hendrik Lösch Hendrik Lösch · World Congress 2025

1:57 min

Connecting web performance optimization to ecological sustainability

Andreas Taranetz Andreas Taranetz · World Congress 2024

2:12 min

Defining green cloud computing and software principles

Doreen Sacker · LIVE

2:12 min

Building an implementation strategy for green software

Aydin Mir Mohammadi Aydin Mir Mohammadi · World Congress 2026 Europe

59 sec

Universal strategies for greener product development cycles

Doreen Sacker · LIVE