DEV Community

Discussion on: Do you consider your carbon footprint while programming?

Collapse
 
tiguchi profile image
Thomas Werner • Edited

I understand and generally like the sentiment, and effectively that would mean that we create better and more efficient software, which is overall beneficial for users.

I guess this can be done by...

  • Not draining battery due to unnecessary operations (e.g. constant location tracking, performing background operations while app is not being used)
  • Not wasting storage space (which causes more I/O and might force the user into buying additional hard drives)
  • Only run operations if explicitly started or implicitly expected by the end user at any point in time
  • Being overall more mindful of available resources and scale down the demands of the application. (e.g. does my video game really have to max out the GPU's and CPU's abilities for being an enjoyable game?)

But I also want to point out that 71% of the global CO2 output is created by 100 companies. These are fossil oil companies. There is only so much we can do. The real problem is a political one and the greed of a ruling minority that has been aggressively obstructionist and in denial about climate change so far. We need renewable energy and find a way out of the fossil oil industry, which is doomed anyway because it's a resource that is about to run out.

Collapse
 
vsaw profile image
Valentin Sawadski (he/him)

I disagree with the idea that CO2 emissions from information and communication technology is not important. According to the guardian ICT could

create up to 3.5% of global emissions by 2020 – surpassing aviation and shipping – and up to 14% 2040, around the same proportion as the US today

I like the ideas you have and would like to add some more

  1. Performance Budget to control the performance and efficiency spendings during product development. Similarly how cars are being developed to reach a certain β€žmiles per gallonβ€œ ratio
  2. Programming Languages and Libraries we all knew C was fast, but no we know it also saves energy
  3. Compilation/Runtime optimization: in terms of cost/benefit ratio this might even be the best option to make sure the binaries you use have been compiled correctly!