4 ms·
> Wait, design is the big energy hog? I find that... well, in need of some evidence and data. Is that a reason not to try to make things more efficient? > Th
by Shared404 6y ago
> Wait, design is the big energy hog? I find that... well, in need of some evidence and data.
Is that a reason not to try to make things more efficient?
> There's just no way that "write less JavaScript" is the big needle mover compared to right sizing and scaling your fleet. Right?
My understanding is that it's less "write less JavaScript" and more "Don't pull in MB after MB of dependencies".
Also, that was just one of several points made by the author.
> Also, rather than spending two days optimizing all this, wouldn't you see much more carbon removed by spending two days planting trees?
Por que no los dos? As a result of the author having done so, it has now saved others who are interested in doing so time learning how.
- ehnto 6y ago> My understanding is that it's less "write less JavaScript" and more "Don't pull in MB after MB of dependencies". Probably good practice regardless. Recently saw a project with 23,000 lines of CSS thanks to pulling in library after library. That's just hard to reason about come maintenance time.
- Pfhreak 6y agoYes, it's absolutely a reason to consider not making something more efficient. It's not free to do the things this author recommends. Increasing efficiency has both a cost (how many hours did it take to improve this, and how much power was spent on competing to develop them) and and opportunity cost (what could we have spent those hours on instead). If the efficiency gain never repays the cost, you've actually made the system worse by making it more efficient. There are no claims from the author about what is saved, it seems like the amount of energy spent reclaiming a small amount of energy will lately be worthwhile.
- dehrmann 6y ago> Yes, it's absolutely a reason to consider not making something more efficient. Let's assume a smartphone has a battery capacity of 10WH (3000mAH * 3.7v), and you're charging your phone once per day to make up for aggregate inefficiency. If retail electric is priced at $0.10 per KWH, that's 36 cents per year? On the emissions front, that's negligible.
- e2le 6y agoIs it worth considering the pollution and financial costs of replacing a battery? I suspect writing more efficient software would allow batteries to last longer and manufacturing new lithium batteries is anything but easy on the environment.
- Shared404 6y agoIt may or may not have a noticeable impact on emissions overall, I won't try to argue that. However, at least hitting the low hanging fruit seems like a good idea.