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

Резултати

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

Пребарај: #breakthesiege

当前筛选 #breakthesiege清除筛选
Freedom Flotilla Coalition

@FFC_official_channel · Post #12 · 18.04.2024 г., 07:08

We're challenging Israel's illegal blockade of Gaza and delivering tonnes of critical aid to Palestinians in an emergency mission. Our destination is the conscience of humanity. Once we leave port, we will be posting regular updates on this channel and broadcasting live from on board the ships. We need you to get on board - on land. We need millions of people around the world, who have come out on the streets in support of Palestine, to help keep the participants safe and ensure the success of the mission. Together we can #BreakTheSiege Please share this channel and help us get the eyes of the world on this mission. When governments fail, we sail!

Freedom Flotilla Coalition

@FFC_official_channel · Post #373 · 03.06.2025 г., 03:11

UN EXPERTS DEMAND SAFE PASSAGE FOR ‘MADLEEN’ JOIN THEM Today, UN experts called for safe passage for the Madleen — our civilian ship carrying vital aid and international volunteers to Gaza. Now we need your voice. Let’s turn international law into action. 📣 Take one minute: go to bit.ly/IsraelOnNotice and send a letter to the Israeli government, UN officials, and diplomatic missions demanding that Israel abide by international law and refrain from attacking, sabotaging or otherwise interfering with the Madleen and her mission. Together, we can open a people’s sea corridor to Gaza. #SafePassage#BreakTheSiege#FreedomFlotilla

El Pueblo Informa

@EPInforma · Post #35508 · 13.06.2025 г., 14:40

Mientras el mundo se moviliza por Palestina y tratar de desbloquear Gaza, EE.UU. aprovecha de atacar a Irán con impunidad. Así negocia EE.UU. Qué alivio saber que Donald Trump sigue comprometido con "la diplomacia"... a su manera. No hay mejor Acuerdo de Paz que advertirle a un país entero que será reducido a cenizas. #iran #gaza #gazaunderattack #breakthesiege #usdiplomacy #diplomacy

Drones are now regularly flying over the flotilla. As Yasemin Acar, Steering Committee member of the Global Sumud Flotilla, explains: this surveillance is meant to intimidate and exhaust us. But it only underscores why our mission is urgent. For Palestinians, drones are not just cameras. They are weapons of war, used daily to surveil, intimidate, and kill. The same technology that terrorizes Gaza is now policing the Mediterranean, turning the sea into a graveyard. We will not turn back. We continue to Gaza because this is about justice, freedom, and life. #BreakTheSiege #FreePalestine #SailToGaza #GlobalMovementToGaza #GlobalSumudFlotilla

Freedom Flotilla Coalition

@FFC_official_channel · Post #649 · 21.07.2025 г., 08:24

'Handala’ left Italy a few hours ago and is almost in international waters. This action is for the children of Gaza. The boat is carrying as much baby formula, food, and medicine as possible, but its aim is to end the need for aid by breaking Israel’s illegal siege. Keep your eyes on our team, and demand their governments uphold international law by ensuring safe passage. #ForTheChildrenOfGaza #AllEyesOnDeck #BreaktheSiege #FreePalestine

As we enter the high-risk zone, follow our mission by tracking the flotilla live on our website. #BreakTheSiege#FreePalestine#SailToGaza #AllEyesOnGaza #GlobalMovementToGaza#GlobalSumudFlotilla

Freedom Flotilla Coalition

@FFC_official_channel · Post #586 · 13.07.2025 г., 02:16

The Freedom Flotilla Coalition is setting sail again. Join us in Siracusa, Italy — or online — on July 13 at 10:30 CEST (GMT+2) as we launch ‘Handala’ on its journey toward Gaza. Just weeks after Israeli forces illegally seized our boat ‘Madleen’ and abducted 12 unarmed civilians in international waters, we continue — with global solidarity — to challenge Israel’s illegal and deadly siege. This mission is for the children of Gaza. #FreedomFlotilla#WeWillSail#AllEyesOnDeck#BreakTheSiege#Handala

Freedom Flotilla Coalition

@FFC_official_channel · Post #665 · 22.07.2025 г., 12:43

LIVESTREAM FROM THE SEAS WITH THE FREEDOM FLOTILLA AND RASHIDA TLAIB. July 23 on Instagram and Telegram 10:00 AM (New York | EDT GMT-4) 5:00 PM (Palestine | EEST GMT+3) Join us for a powerful conversation between Congresswoman Rashida Tlaib and the U.S. citizens aboard ‘Handala’ as they sail to break Israel’s illegal siege on Gaza. Tune in to hear them discuss the moral responsibility of ordinary people when governments fail, the urgent need to change U.S. policy that enables Israel and their genocide of Palestinians, why they are sailing, what they are demanding, and how we can all stand with Gaza. #alleyesondeck#handala#forthechildrenofgaza#breakthesiege#endtheblockade

Freedom Flotilla Coalition

@FFC_official_channel · Post #531 · 11.06.2025 г., 12:13

Palestinians in Gaza are being starved, denied aid, genocided- and this is all on live stream and on our watch. A statement from Yasemin Acar, FFC volunteer on ‘Madleen’ who was kidnapped by IOF, forcibly taken to Israel and currently being held in detention is delivered by her brother J. Acar. This is the real story. #FreeGaza#BreakTheSiege #Madleen#EndTheGenocide

Freedom Flotilla Coalition

@FFC_official_channel · Post #708 · 26.07.2025 г., 12:44

Join us live on instagram as Francesca Albanese @francesca.albanese.unsr.opt talks with Emma Fourreau @emma.fourreau(French member of the European Parliament) and Gabrielle Cathala @gabrielle_cathala (member of the French Parliament) from the Handala as they discuss global government complicity in Israel’s war crimes. As the ‘Handala’ is nearly 100 nautical miles from the coast of Gaza, world governments should be doing all they can to ensure its safe passage. Today, July 26th at 16:30 EEST (Palestinian time) #BreakTheSiege#Handala#AllEyesOnDeck#Live#ForTheChildrenOfGaza

ПретходнаСтраница 1 од 4Следна