A single petabyte of data can consume as much electricity as ten households. Learn 11 practical tips to reduce your code's environmental and financial cost.
#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.
A Guide to Green Tech and Green IT CareersEven though examples of green, sustainable technologies are as old as lazing and lounging in a Roman hot tub, green tech has experienced a big boom in the last few years as climate change, biodiversity loss, and pollution threaten our planet. By gree...
Dev Digest 213: Petrol Prices, Agentic Workflows, AI Skills and CODE100!Inside last week’s Dev Digest 213 .
🤫 Don’t tell your LLM that it is an expert
👻 AI generated code is invisible
🔄 Learn about agentic workflows
🛡️ Linux Foundation sponsors fight against AI slop
🦠 1M users infected by Chrome extension
🫃 The why of J...
Daniel Cranney
Is Software Development Making the Climate Crisis Worse?The incredible rate at which technology is developing is clear for all to see. Each week here at WeAreDevelopers, we hear about exciting innovations in the realms of hardware, software, devices, infrastucture, and (of course) AI. Each one presents op...
From learning to earning
Jobs that call for the skills explored in this talk.