Kent Simonsen
11 Tips for Greener Code
#1about 3 minutes
Making green code a measurable project goal
Treat sustainability as a non-functional requirement and use tools to measure energy consumption from the cloud level down to micro-benchmarks.
#2about 3 minutes
Eliminating waste in code, infrastructure, and CI/CD
Reduce energy consumption by removing unused code and data, optimizing test frameworks with timeouts, and avoiding inefficient parallelization in CI/CD pipelines.
#3about 1 minute
Optimizing data storage and hardware lifecycle
Minimize energy usage by deleting unnecessary stored data and strategically upgrading server hardware, which has a higher operational carbon cost than its manufacturing cost.
#4about 1 minute
Writing efficient code by optimizing loops and data transfer
Improve code's energy efficiency by minimizing operations inside loops and reducing network energy use through smaller data transfers and efficient formats like Protobuf.
#5about 2 minutes
Choosing efficient languages and avoiding costly reflection
Select programming languages and algorithms based on their energy consumption profiles and avoid performance-intensive operations like reflection by using techniques like code generation.
Related jobs
Jobs that call for the skills explored in this talk.
envelio
Köln, Germany
Remote
Senior
Python
Software Architecture
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
VECTOR Informatik
Stuttgart, Germany
Intermediate
Senior
DevOps
Cloud (AWS/Google/Azure)
Matching moments
Featured Partners
Related Videos
Green Cloud Computing
Doreen Sacker
It's not easy being green
Marjolein Pordon
A Hitchhiker's Guide to Resource Efficient Software
Hendrik Lösch
Introducing Green IT practices to a large Software Company
Pierre-Luc Noel & Fritz Reichmann
Minimising the Carbon Footprint of Workloads
Michael Mueller
An Architect’s guide to reducing the carbon footprint of your applications
Ricardo Sueiras Sueiras
What can I do about climate change as a developer... and a human being?
Julien Lengrand-Lambert
Sustainable me. A tale of good design.
Lorenzo Pieri
Related Articles
View all articles
.webp?w=240&auto=compress,format)


From learning to earning
Jobs that call for the skills explored in this talk.

Climax.eco
Rotterdam, Netherlands
€70-100K
Senior
TypeScript
PostgreSQL
Cloud (AWS/Google/Azure)

fulfillmenttools
Köln, Germany
€50-65K
Intermediate
TypeScript
Google Cloud Platform
Continuous Integration

tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
Spring Boot

envelio
Köln, Germany
Remote
Senior
Python
JavaScript
Structured Query Language (SQL)

MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
Angular
TypeScript

Green Fusion GmbH
Berlin, Germany
Remote
Senior
API
GIT
Python



Groendus
Utrecht, Netherlands
€4-5K
TypeScript
Amazon Web Services (AWS)