Member-only story
Python’s Latest Version: A Tool Against Climate Change
New Python versions reduce CPU and energy consumption
Approximately a year ago, the latest version of Python was released with significant improvements in all aspects. Until this version, Python was not one of the most efficient languages in terms of energy and CPU, but with this version, things have changed for the better.
Recent versions 3.11.x includes several new features, including a significant reduction in CPU and energy consumption.
Python’s CPU consumption has been almost halved in the new version. This is due to several changes, including the use of a new compiler, code optimization, and removal of unnecessary functions.
The latest Python version has achieved a 50% reduction in CPU usage, which leads to decreased electricity consumption. This becomes increasingly relevant among discussions sparked by the energy crisis and the ongoing debates around the energy use of cryptocurrencies. Interestingly, some observers suggest that Python’s latest advancements might contribute more to energy conservation than Ethereum’s highly-publicized ‘Merge’.