How "green" is your code?

protium - Jun 27 '19 - - Dev Community

Hello guys.

I often think about electricity consumption. Services and Servers running never stop (leaving aside on-demand instances, but they are also in servers).

From the moment a user navigates, lots of things happen: servers, internet providers, submarine cables, Satellites, GSM, electricity and more electricity.

How can we help our planet in our day to day work? Perhaps:

  • High efficiency algorithms: If users have 16 gigs of RAM with a Quad core CPU it doesn't mean we can use all the available resources
  • Light weight resources: making users download heavy resources consumes more data and in consequence more battery
  • Configurable background services: Why don't provide the user with settings to adjust how often he/she needs to update data?
  • Colors: don't use colors that make users increase their screen brightness
  • ...

Maybe I'm going too far, but do any of you think about this when you are writing code? Does this motivate you to write better code?
Is it possible to write energy efficient code?

. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player