6 ms·
I wonder what the carbon impact the use of those inefficient dynamic languages has had, in both desktop and backend environments? I imagine it's substantial an
by dleslie 6y ago
I wonder what the carbon impact the use of those inefficient dynamic languages has had, in both desktop and backend environments?
I imagine it's substantial and worth considering.
- jeffbee 6y agoI bet it is completely insignificant in the great scheme. The average American, for example, uses the equivalent of 4 kW of motor fuels continuously, not even counting electricity consumption. It doesn't amount to a hill of beans if the Dropbox sync client uses an extra joule here and there because it's written in Python instead of C++.
- deleted 6y ago[deleted]
- jcelerier 6y ago> The average American, for example, uses the equivalent of 4 kW of motor fuels continuously how is that possible ? I have a normal house with a few appliances turned on, plus three fairly powerful computers and some musical gear and I'm at 530VA right now according to my home's electricity meter
- jeffbee 6y agoBut how do you move yourself from place to place? Note that it's not necessary for you to personally burn the three gallons of fuel per day. It's an average.
- jcelerier 6y agoI drive on average 8k kilometers per year. I doubt that this is amounting to all the rest, is it ? a quick computation gives me, given that my car drinks roughly 7 liters of diesel / 100km if i'm not careful: - 560 liters of diesel / year - a liter of diesel is apparently ~10.74 kwh -> 6014 kwh total - 6014 / 365 -> 16 kwh a day ? I don't see how this is making me any closer to 4000 kwh per day.
- jeffbee 6y agoBy your metric ways I see you might not be an American. However, you can readily divide the total motor fuel consumption in the US by the population in the US, and use your figure of energy per liter (which is a bit higher than pertrol, but it doesn't matter). The point is that the global emissions story boils down to transport fuels, meat, leaky houses, and a long tail of irrelevant things, such as your choice of programming language at small scale. At large scale the economic incentives alone are enough to encourage huge energy consumers to use a decent language (for example, Google and C++). But the whole information industry taken together is irrelevant to the global emissions story as long as we have an airline industry, cars, and hamburgers.
- liuhenry 6y agoUS Department of Transporation says the avg. American drives 13.5k miles per year. Using an average mpg of 21.5 mpg (if the average age of a car is 12 years), this comes to ~628 gallons of gas per year. EPA uses 33.7 kWh per gallon for ~21,160 kWh in a year. Divide by 360 * 24 and you get 2.5 kW continuous, so it seems plausible. EU numbers based on [1] come out to ~1 kW for driving? [1] https://www.odyssee-mure.eu/publications/efficiency-by-sector/transport/cars-energy-consumption-per-km.html https://www.odyssee-mure.eu/publications/efficiency-by-secto...
- jcelerier 6y ago> 21.5 mpg this is more than 11L/100 - I don't know anyone who has a car that consumes that much.
- yodelshady 6y agoThe Ford F-150 is the highest-selling vehicle in North America. Also worth noting - the US gallon is smaller than the UK one. And anecdotally, the mileage rating in the US actually tends to represent real-world consumption, whereas the EU test - until very recently - did not.
- liuhenry 6y ago
- callalex 6y agoHave you ever purchased anything from a store? How did that good get to the store? Have you ever purchased anything online for home delivery? How did that good get to the delivery center, then your home? Just because you didn’t pump a gallon of gas into your personally owned tank doesn’t mean it wasn’t burned on your behalf.
- jcelerier 6y agobut surely that is already accounted for in another budget line right ? if you are just dividing total kwh of a country by households it does not make any sense as it would also count military stuff, etc.
- brandmeyer 6y agoActually, that's a great example. The sync client has 10^7 installations or more out there, but its backed by an engineering team of 10^2 or less. Maybe much less. That scope of impact is fundamental to the economics of software, and its why software engineers have so much potential to do good (or ill) for the environment.
- Jtsummers 6y agoIt likely only matters if you're computationally bound. Many (most?) of our uses of computers are IO bound, instead. So some degree of inefficiency in the use of CPUs is probably not as bad as things like the unnecessary round-tripping of data (or constant retrieval) over long distances.
- open-source-ux 6y agoWhen PHP 7 was released, Rasmus Lerdorf, the creator of PHP, said the performance improvements meant fewer servers, smaller memory use and reduced CPU activity - all of which equalled less power or electricity consumed. (And remember this is an interpreted language.) When you consider the millions of servers in use, that additional language efficiency adds up to a substantial saving in electricity use. You can watch a segment from his presentation where he talks about this here - and the calculations he made of potential CO2 savings: https://youtu.be/umxGUWYmiSw?t=15m16s https://youtu.be/umxGUWYmiSw?t=15m16s
- sk2020 6y agoThink of how much electricity is spent on cryptocurrency grifting, training state of the art AI so that it can help trick the elderly into clicking on ads, distributing porn, and streaming videos of kids eating tide pods. I think that eclipses the cost of developers using Rails or Django for their server backend. I don’t think we have a problem with the “how” as much as the “what” or “why”.
- t0astbread 6y agoGenerally agreed but I don't think "distributing porn" compares to the other examples given. There's definitely a subset of porn that treats involved parties fairly and doesn't pose ethical problems. Demonizing porn as a medium only pushes it into a moral grey zone which benefits harmful entities because there's less public awareness of their actions.
- webmaven 6y ago> Demonizing porn as a medium only pushes it into a moral grey zone which benefits harmful entities because there's less public awareness of their actions. ObNitpick: I think porn is a genre rather than a medium.
- t0astbread 6y agoYou're right, I wasn't sure what to call it but "genre" is probably more fitting.
- sk2020 6y agoI can’t think of a much less productive use of one’s time than masturbation.