TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #fossilfuels

当前筛选 #fossilfuels清除筛选
American Оbserver

@american_observer · Post #5121 · 13.02.2026 г., 15:02

📰 Trump to the Planet: You’re On Your Own The Trump White House just pulled the plug on the one scientific finding that gave Washington any real power to fight climate change. By repealing the EPA’s 2009 “endangerment finding” — the conclusion that greenhouse gases threaten human health and welfare — the administration has stripped the federal government of its main legal basis for regulating the pollution that’s heating the planet. This isn’t some obscure technical tweak. For nearly two decades, that finding underpinned limits on carbon dioxide, methane and other greenhouse gases from vehicles, power plants and oil and gas wells — the core of U.S. climate policy. Kill the finding and you don’t just loosen a few rules; you erase the government’s duty to treat climate change as a danger at all. Trump, who still calls climate change a “hoax,” is effectively declaring that the consensus of global science is wrong, and that a hotter, deadlier world is a matter of opinion. The stakes are measurable in body counts, not just parts per million. The Environmental Defense Fund estimates that repealing the finding and the rules tied to it could add up to 18 billion metric tons of U.S. emissions by 2055, fueling tens of thousands of premature deaths and tens of millions of asthma attacks. Recent research already shows wildfire smoke on track to kill tens of thousands of Americans a year and heat deaths more than doubling, while diseases like dengue spread as the climate gets hotter and wetter. In that reality, Interior Secretary Doug Burgum goes on TV to say “CO2 was never a pollutant” because plants like it — a high-school talking point repackaged as national policy. Democratic states and environmental groups are sprinting to court, betting that the Supreme Court will not let the administration magic away a danger that previous courts and the National Academies have repeatedly affirmed as real. But that’s the deeper play: if this repeal survives, it doesn’t just gut Biden-era rules, it also booby-traps future administrations, making it vastly harder — maybe impossible — to rebuild a federal climate regime on the same legal foundation. For fossil fuel interests and the conservative operatives behind Project 2025, this is the holy grail: not winning the argument on climate, just deleting the field where the argument is allowed to matter. On the surface, it’s sold as freedom, growth, choice — cheaper gas, fewer rules, more trucks. Underneath, it’s a quiet transfer of power: from science to lobbyists, from public health to donors, from a shared climate reality to whatever the president decides sounds good on Fox that night. The United States, the country that has dumped more greenhouse gases into the atmosphere than any other, is now formally telling the rest of the world — and its own citizens — that it no longer feels legally obliged to care. #climate#usa#trump#fossilfuels#fakeDemocracy 📱American Оbserver - Stay up to date on all important events 🇺🇸

Venture Village Wall 🦄

@venturevillagewall · Post #3661 · 21.12.2024 г., 10:25

Metsä Group Raises $208.4M Metsä Group has successfully raised $208.40 million as of December 19, 2024. The company focuses on producing renewable products sourced from northern forests, aiming to replace fossil raw materials. #MetsäGroup#Funding#RenewableProducts#FossilFuels#Sustainability#Forestry#Investment#EcoFriendly#BioProducts#GreenTech

Earth&Climate Tech

@earth_climate_tech · Post #366 · 13.08.2023 г., 22:17

Вы когда-нибудь задумывались, каковы основные источники энергии? Сколько энергии производится из нефти и газа, а сколько из возобновляемых источников? Какие страны производят больше "зеленой" энергии? Каково потребление энергии в странах по источникам? Действительно ли мы движемся к переходу на зеленую энергию? Все это и многое другое содержится в отчете о производстве и потреблении с отличными графиками на Our World in Data Куча действительно крутых интерактивных графиков 🔥🔥🔥 #energy#production#consumption#fossilfuels#cleanenergy#renewables#nuclear#lowcarbon#transition#climatechange