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

Резултати

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

Пребарај: #gretathunberg

当前筛选 #gretathunberg清除筛选
Bloom Org

@bloomorg_uz · Post #51 · 12.06.2025 г., 14:25

#LetHerBloom #GretaThunberg ❔What happens when a climate activist speaks out on a global conflict? 💬 Greta Thunberg has always been loud - for the planet, and for the people. However when she spoke up about Palestine, the silence that followed was different… On June 9, she boarded humanitarian flotilla the Madleen, planning to deliver aid to Gaza. Israeli forces intercepted the vessel in international waters, detaining and then deporting her by June 10 - after being held in an undisclosed location and pressured to sign documents admitting illegal entry. ‼️ She is back safe, but the reality remains: Solidarity can come with heavy costs. 🌸 At Bloom, we believe speaking up and fighting is better than staying silent! So let’s fight for justice and stop traditions of staying silent in unfair situations. And again, Let Her Bloom!

Reuters: World

@reutersworldchannel · Post #149256 · 12.10.2021 г., 15:43

Greta Thunberg talks about her life Staying grounded makes coming back to normal life easier, climate activist Greta Thunberg says, as she talks about her handling of fame. #News#Reuters#GretaThunberg#lifestyle Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Freedom Flotilla Coalition

@FFC_official_channel · Post #525 · 10.06.2025 г., 18:49

Some snippets from Greta’s interview after being deported by Israeli authorities. Continue fighting for Palestinians in Gaza, including those in wider Palestine who are unlawfully imprisoned, including over 400 children. #Madleen#IOF#GretaThunberg#FreedomFlotilla

Savino Balzano

@savinobalzano · Post #1181 · 05.10.2025 г., 17:25

https://x.com/SavinoBalzano/status/1974887738919772654 Penso davvero che #AntonioTajani rappresenti uno dei punti più bassi della storia della diplomazia italiana. Uno che va in televisione a dire che il diritto internazionale conta fino a un certo punto. Uno che parla di “abordaggi pacifici”. Uno che sottolinea come i nostri concittadini non siano stati trattati da #Israele come terroristi. A parte il fatto che mente spudoratamente: da quanto emerge, le condizioni di detenzione sono state inaccettabili e, soprattutto, gli israeliani si sono accaniti sulle persone trattenute con azioni a dir poco intollerabili. Vale però la pena ricordare, ancora una volta, che i membri della #Flottilla non stavano commettendo alcuna azione illegale. Erano in acque internazionali (acque di tutti e di nessuno) e, soprattutto, del tutto disarmati. Per quanto ci riguarda, i nostri concittadini erano anche su imbarcazioni battenti bandiera italiana, dunque su territorio della Repubblica. La stessa Repubblica di cui, purtroppo (per quanto mi riguarda), #Tajani è ministro. Ora mi rivolgo a tutti, anche agli amici di destra. Gli attivisti possono anche esservi antipatici (personalmente non ho mai nutrito alcuna simpatia per #GretaThunberg), ma non comprendere che tenere la gente in carcere illegalmente, affamarla e assetarla, costringerla a baciare la bandiera israeliana in una cella infestata dalle cimici, sia semplicemente barbaro, vi rende peggiori di chi più vi ripugna. Sia chiaro. E qualcuno ha ancora il coraggio di parlare dell’unica democrazia del Medio Oriente? Ma con che faccia? #BattitoriLiberi: dal lunedì al venerdì alle 17, su Radio Cusano

Reuters: World

@reutersworldchannel · Post #149513 · 18.10.2021 г., 14:46

Greta grooves at Stockholm climate concert Swedish climate activist Greta Thunberg surprised the crowd at the Climate Live concert in Stockholm by delivering a dance rather than a speech. #News#Reuters#GretaThunberg#Stockholm#RickAstley Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

la fionda📗

@lafionda · Post #6652 · 05.10.2025 г., 17:57

https://x.com/SavinoBalzano/status/1974887738919772654 Penso davvero che #AntonioTajani rappresenti uno dei punti più bassi della storia della diplomazia italiana. Uno che va in televisione a dire che il diritto internazionale conta fino a un certo punto. Uno che parla di “abordaggi pacifici”. Uno che sottolinea come i nostri concittadini non siano stati trattati da #Israele come terroristi. A parte il fatto che mente spudoratamente: da quanto emerge, le condizioni di detenzione sono state inaccettabili e, soprattutto, gli israeliani si sono accaniti sulle persone trattenute con azioni a dir poco intollerabili. Vale però la pena ricordare, ancora una volta, che i membri della #Flottilla non stavano commettendo alcuna azione illegale. Erano in acque internazionali (acque di tutti e di nessuno) e, soprattutto, del tutto disarmati. Per quanto ci riguarda, i nostri concittadini erano anche su imbarcazioni battenti bandiera italiana, dunque su territorio della Repubblica. La stessa Repubblica di cui, purtroppo (per quanto mi riguarda), #Tajani è ministro. Ora mi rivolgo a tutti, anche agli amici di destra. Gli attivisti possono anche esservi antipatici (personalmente non ho mai nutrito alcuna simpatia per #GretaThunberg), ma non comprendere che tenere la gente in carcere illegalmente, affamarla e assetarla, costringerla a baciare la bandiera israeliana in una cella infestata dalle cimici, sia semplicemente barbaro, vi rende peggiori di chi più vi ripugna. Sia chiaro. E qualcuno ha ancora il coraggio di parlare dell’unica democrazia del Medio Oriente? Ma con che faccia? #BattitoriLiberi: dal lunedì al venerdì alle 17, su Radio Cusano

Reuters: World

@reutersworldchannel · Post #149258 · 12.10.2021 г., 16:27

Thunberg expects 'meaningless' pledges at COP26 For activist Greta Thunberg, success at the upcoming U.N. climate conference would be possible if world leaders honestly admit that their action is not living up to their words. #GretaThunberg#COP26#UNClimateConference#ClimateChange#News#Reuters Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Freedom Flotilla Coalition

@FFC_official_channel · Post #442 · 06.06.2025 г., 00:45

Macklemore endorses the Freedom Flotilla’s ‘Madleen’ on stage, playing a special video that Greta Thunberg recorded from the vessel. Keep all eyes on deck, and all eyes on Palestine. #GretaThunberg#Macklemore#BreakIsraelsSiege#EndTheBlockade#StandWithGaza#FreePalestine

Freedom Flotilla Coalition

@FFC_official_channel · Post #386 · 03.06.2025 г., 12:54

Listen to some of the Freedom Flotilla Coalition volunteers share why our nonviolent action is critical, just before they boarded the 'Madleen' in Catania. Keep track of our vessel and friends as they sail to Gaza via Marine Traffic or our website. Tag your Foreign Ministries to ensure that they safeguard the 'Madleen', and end their active participation in Israel's genocide and siege of Gaza. #BreakIsraelsSiege#EndTheBlockade#Madleen#FreedomFlotilla#HuwaidaArraf#GretaThunberg#DrMo#RimaHassan#YasmineAcar#ThiagoAvila