Building Green Software: A Sustainable Approach to Software Development and Operations
- Добавил: literator
- Дата: 14-03-2024, 20:24
- Комментариев: 0
![](/uploads/posts/2024-03/thumbs/1710437115_building-green-software.jpg)
Автор: Anne Currie, Sarah Hsu, Sara Bergman
Издательство: O’Reilly Media, Inc.
Год: 2024
Страниц: 357
Язык: английский
Формат: pdf, epub (true)
Размер: 10.1 MB
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview of this topic—discussing everything from the likely evolution of national grids to the effect those changes will have on the day-to-day lives of developers.
Ideal for everyone from new developers to CTOs, Building Green Software tackles the challenges involved and shows you how to build, host, and operate code in a way that's not only better for the planet but also cheaper and relatively low-risk for your business. Most hyperscale public cloud providers have already committed to net-zero IT operations by 2030. This book shows you how to get on board.
The problem with code efficiency is that although cutting CPU/GPU use can potentially have a huge impact on carbon emissions and is well understood—the same techniques have been used for many decades in high-performance computing (HPC)—it is high effort for engineers. You might get a hundredfold reduction in carbon emissions by switching, for example, from Python to a much more efficient language like Rust, but there will be a price to pay in productivity. Developers really do deliver much more quickly when they are using lower machine-efficiency languages like Python. As a result, writing efficient code is unattractive to businesses, who want to devote their developer time to building new features, not writing more streamlined code.
If you really have to do it yourself, there are multiple options for CPU-heavy jobs that must run at times of high carbon intensity:
• Replace inefficient custom code with efficient services or libraries.
• Replace inefficient services or libraries with better ones.
• Rewrite the code to use a more lightweight platform, framework, or language. Moving from Python to Rust has been known to result in a hundredfold cut in CPU requirements, for example, and Rust has security advantages over the more classic code efficiency options of C or C++.
• Look at new language alternatives like Cython or Mojo, which aim to combine C-like speed with better usability.
You'll explore:
• How the energy transition is likely to change hosting on prem and in the cloud—and how your company can prepare
• The fundamental architectural principles of sustainable software development and how to apply them
• How to determine which parts of your system need to change
• The concept of extending hardware longevity and the part that software plays
Скачать Building Green Software: A Sustainable Approach to Software Development and Operations
![](/templates/LitmyL/images/LitMyru.png)
[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.