4 ms·
I often think about this. We do clearly waste CPU cycles by the boatload these days, but what would the carbon footprint be like if we were still using these ma
by Underphil 5y ago
I often think about this. We do clearly waste CPU cycles by the boatload these days, but what would the carbon footprint be like if we were still using these machines now? How does the power consumption compare? How would it compare if we were still using the protocols and languages of the past?
(I'm not an 'everything was better in the old days' kinda guy, but I do think about this just as a curiosity).
- pjmlp 5y agoRegarding the languages it is easy, hence the pressure of going back to AOT or at very least JIT caching across runs. https://www.johndcook.com/blog/2012/04/11/facebook-and-cpp/ https://www.johndcook.com/blog/2012/04/11/facebook-and-cpp/ > One reason Facebook is shifting more work to C++ is to reduce operating costs such as power consumption per user.
- zozbot234 5y agoGood reference, but that post is from 2012. There are better choices nowadays. Language-provided memory safety also allows you to run more of your code within a single address space (barring information disclosure concerns, aka Spectre/Meltdown of course) - this is effectively what modern "async" programming is. Not that different from the kind of code you would write for a random 16-bit machine.
- erosenbe0 5y agoWhat is modern async programming? I/O multiplexing with the select system call came out in 1983 and async programming has been exactly the same ever since. Edit: I misunderstood your 16-bit comment. Yes, in the 80s and 90s async was popular like it is today because processes were expensive. Even on 32-bit. So multiplexing was a good strategy whether in a preemptive OS like SunOS or a cooperative OS like 16 bit Windows. Then Java and various web server architectures came along and people got comfortable with threads, and the OSes got relatively efficient with them.
- erosenbe0 5y agoIt was not better. Power supplies in the 80s were not very high efficiency. They did not have much in the way of low dropout regulators meaning the boards blew waste heat constantly with few sleep modes invented yet. It wasn't even cpu cycles generating that heat, just resistive waste. All of the peripherals like disks and of course the CRT had quiescent draw as well. So the 80s were not good. The 60s and 70s -- even worse. Gas had lead. And it spewed everywhere and we'll never get it out.
- TedDoesntTalk 5y agoI remember reading that the Apple 2e was the first device with a switching power supply and the power supply design revolutionized power supply design for years to come. Is that true?
- bregma 5y agoIt's not true. Woz's genius switching power supply was what made the Apple ][ special long before the 2e was even dreamed of.
- TedDoesntTalk 5y agoApparently not, see link provided in the other reply: http://www.righto.com/2012/02/apple-didnt-revolutionize-power.html http://www.righto.com/2012/02/apple-didnt-revolutionize-powe... Jobs lied and, additionally, Woz did not design that power supply as you suggest.
- ruslan 5y agoIn the book "I, Woz", Steve Wozniak explains that Jobs hired a random hacker Rod Holt to design switching mode power supply unit for their Apple II computer. Jobs paid him $200 a day which was a lot of money by that time. Rod did the best work he could. https://en.wikipedia.org/wiki/Rod_Holt https://en.wikipedia.org/wiki/Rod_Holt
- pdw 5y agohttp://www.righto.com/2012/02/apple-didnt-revolutionize-power.html http://www.righto.com/2012/02/apple-didnt-revolutionize-powe...
- ladyattis 5y agoI think the problem is those protocols were arbitrary implementations due to the desire of companies to try to lock-in developers and consumers. This led to the constant churn of hardware and software we all experienced even with our smartphones. Now, it just seems silly but now I think we need as a community (developers, even electrical engineers who work on hardware) need to hammer out the core implementations but that's just a pipedream obviously. :)