|
Which makes you a good coder
|
|
|
|
|
So far no one have selected this option. Where are all the Green Developers
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
It's not really clear how to do this except avoid wasting cycles. To me this means you have to write everything in assembly language because C++ definitely wastes cycles and don't get me started on .NET...
John
|
|
|
|
|
John M. Drescher wrote: It's not really clear how to do this except avoid wasting cycles
Minimize hard disk IO?
|
|
|
|
|
That's surely another. Probably more difficult depending on the problem and probably less fruitful in most applications being that most CPUs use 2 times the power what a hard drive uses at idle. and 5 to 15 times what a hard drive does when both are under full load.
John
|
|
|
|
|
John M. Drescher wrote: It's not really clear how to do this
Easy: Don't use the processor and don't use the disk or anything else (or the program should immediately shut down the machine...)
Regards
Thomas
www.thomas-weller.de
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Programmer - an organism that turns coffee into software.
|
|
|
|
|
I think this is an issue mainly on mobile devices, where battery power is at a premium.
|
|
|
|
|
I don't do treehugging
|
|
|
|
|
The trees around here don't encourage hugging.
|
|
|
|
|
If it's easy to maintain I don't have to run my development system as much.
|
|
|
|
|
Yusuf.A wrote: Where are all the Green Developers
They have all moved back to Bob's home planet.
|
|
|
|
|
For almost everything I developed in the last ten years it was either memory or IO that was the bottleneck.
|
|
|
|
|
Then you're just not trying hard enough!
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|