jump to navigation

Is Your Algorithm Green? June 14, 2008

Posted by gordonwatts in computers, physics life.
trackback

I was debugging some code of mine and I realized that it was very stupidly using lots of extra CPU cycles. Of course, with modern processors, cycles equals power. Modern CPU’s use less power when they are idle. Does that mean my algorithm is bad for the environment? I’ve never though of particle physics from that point of view!

N.B. I had a lot of wine for dinner.

Comments»

1. Lisa Smith - August 14, 2008

That’s funny. You could look at just about any computer operation that way. I do a lot of audio mixing/engineering, and in that environment too, there’s a slight sense of accomplishment when a song treads lightly on the processor. The more plugins and tools one uses to enhance sound, the more memory required to bounce the song. Although there are certain laws of mixing you wouldn’t want to ignore, a “low-maintenance mix” begins with good input in the first place…. well-recorded audio or well-written code…. Instead of carbon footprints, what’s your digital footprint on this world?🙂

2. gordonwatts - August 14, 2008

Lisa – True – and that also holds for digital photography, actually! And cooking (at least the “you start with the better ingredients, you finish with a better dish”).


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: