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 слични објави

Пребарај: #wyoming

当前筛选 #wyoming清除筛选
White House Watch

@Whitehousewatch · Post #16910 · 06.01.2026 г., 20:23

#Wyoming, #Giustizia: La Corte Suprema del Wyoming ha dichiarato incostituzionale il divieto (ban) quasi totale di aborto e di aborto farmacologico. Lo Stato ha approvato tali misure nel 2023, l’anno dopo il ribaltamento della sentenza Roe v. Wade. La prima misura era il divieto quasi totale all’interruzione volontaria di gravidanza, fatti salvi i casi di incesto, violenza sessuale e quelli in cui la vita della gestante fosse a rischio. Successivamente, è diventato il primo Stato degli USA a mettere fuorilegge la pillola abortiva. Nonostante le leggi, però, l’aborto è rimasto possibile poiché i tribunali ne hanno sospeso l’efficacia in attesa delle pronunce definitive. Pronunce che sono arrivate oggi: la Corte Suprema del Wyoming ha dichiarato che i divieti violano la Costituzione dello Stato, che garantisce il diritto di una donna di poter decidere delle proprie prestazioni sanitarie. Secondo lo Stato, l’aborto non è una prestazione sanitaria e, anche se lo fosse, non dovrebbe essere considerata una decisione della gestante in quanto interrompe la vita del feto. Una ricostruzione che non ha convinto la Corte: “Sebbene la decisione della donna abbia un impatto e ponga fine alla vita del feto, la decisione è, alla fine, una decisione che lei può prendere sulla propria salute”. Il Governatore Mark Gordon (R) ha criticato la decisione e ha invitato la Legislatura statale ad approvare un emendamento costituzionale sull’aborto il prima possibile.

Crypto M - Crypto News

@CryptoM · Post #64680 · 09.04.2026 г., 13:56

🚀 Wyoming's Digital Asset Regulation Discussed in Senate Roundtable U.S. Senator Cynthia Lummis, chair of the Senate Digital Assets Banking Subcommittee, hosted a roundtable at the Wyoming State Capitol. According to Foresight News, the event included discussions with Comptroller Jonathan V. Gould and Governor Mark Gordon on the state's current digital asset regulatory landscape, the significance of a dual banking system, and how banking regulation can support responsible financial innovation. Lummis emphasized Wyoming's leadership in the digital asset sector, noting that efforts initiated nearly a decade ago in the state have laid the groundwork for current federal initiatives. She highlighted Wyoming's comprehensive digital asset regulatory framework and expressed the importance of Comptroller Gould's visit to ensure federal policies reflect effective practices. #Wyoming#DigitalAssets#Regulation#Senate#Banking#FinancialInnovation#Cryptocurrency#USPolitics

Reuters: World

@reutersworldchannel · Post #149302 · 13.10.2021 г., 13:17

October 13, 2021: Gabby Petito, Texas Governor, Debt ceiling fix, U.S borders, La Palma Volcano October 13, 2021: Gabby Petito, Texas Governor, Debt ceiling fix, U.S borders, La Palma Volcano 1. Gabby Petito, the young woman who vanished on a road trip with her boyfriend and later turned up dead in Wyoming, was killed by strangulation, a local coroner said. 2. Texas Governor Greg Abbott's ban on COVID-19 vaccine mandates will likely be superseded by the Biden administration's plan to require shots for workers, but the dueling rules could take months to sort out in court, creating uncertainty for employers with business in the state. 3. The Democratic-controlled U.S. House of Representatives gave final approval to legislation temporarily raising the government's borrowing limit to $28.9 trillion, pushing off the deadline for debt default only until December. 4. The United States will lift restrictions at its land borders with Canada and Mexico for fully vaccinated foreign nationals in early November, ending historic curbs on non-essential travelers in place since March 2020 to address the COVID-19 pandemic. 5. Over 700 residents were ordered to abandon their homes on the Spanish island of La Palma as red-hot lava advanced towards their neighborhood. #GabbyPetito #Wyoming #TexasGovernor #Covid19 #Vaccines #Biden #Democrats #Republicans #UnitedStates #Debt #Canada #Mexico #Borders #Pandemic #LaPalma #Spain #Volcano #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➖