Principle 4: Embodied carbon
The device on which you are reading this document released some carbon in its creation; once it reaches the end of life, disposing of it may release more. Embodied carbon (otherwise referred to as "Embedded Carbon") is the amount of carbon pollution emitted during the creation and disposal of a device. When calculating the total carbon pollution for the computers running your software, account for both the carbon pollution to run the computer and the computer's embodied carbon.
Embodied carbon is significant
Depending on your energy mix's carbon intensity, the embodied carbon cost of a device can be high compared to the carbon cost of the electricity powering it.
For example, a 2019 R640 Dell Server has an amortized embedded carbon cost of
Therefore the total carbon cost will be
The embodied carbon cost is often much higher for consumer devices, sometimes more significant than the lifetime carbon cost from electricity consumption. For an example, see Smartphones Are Killing The Planet Faster Than Anyone Expected.
Don't waste hardware
By the time you buy a computer, it's already emitted a whole load of carbon. Computers also have an expiry date; they get old, can't handle modern workloads, and need to be refreshed. If you think about it in this way, hardware is then a proxy for carbon, so as Sustainable Software Engineers we must be hardware efficient if our goal is to be carbon-efficient.
You can do many things to be hardware efficient, but one thing you can do is help extend the expiry date on hardware. Computers don't wear out, there are no moving parts; they just become obsolete. They become obsolete because we are continually creating software that pushes limits.
Extending the lifespan of hardware
A way to account for embodied carbon is to amortize the carbon over a device's expected life span. For example, if it took
By thinking of embodied carbon in this way, any device, even one that is not consuming electricity, is effectively releasing carbon over its lifetime. With that in mind, if we were to amortize the same
If we apply this concept to the lifespan of the 2019 R640 Dell Server that we discussed earlier, the amortized carbon would drop from
Hardware is retired either because it breaks down or because it struggles to handle modern workloads. Software cannot help with the first; however, if we focus on building applications that can run on older hardware, we can help with the second.