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
🇺🇸US soldier arrested for betting on Maduro’s capture — won over $400 000💰
A U.S. Army Special Forces master sergeant, Gannon Ken Van Dyke, has been arrested and charged after allegedly using classified military information to place bets on an online prediction market and win more than $400 000 based on the outcome of a covert operation that captured Venezuelan president Nicolás Maduro.
Van Dyke, who was involved in Operation Absolute Resolve — the U.S. military mission that led to Maduro’s capture on January 3 — reportedly placed about 13 bets on the platform Polymarket, wagering that Maduro would be removed from power. Prosecutors say he used nonpublic knowledge of the operation to make strategic trades that paid off once the raid became public.
Federal authorities have indicted him on multiple counts, including unlawful use of confidential information for personal gain, commodities fraud, wire fraud, and illegal use of classified data. Van Dyke allegedly tried to conceal his identity and the proceeds by using foreign cryptocurrency accounts and requesting deletion of his Polymarket account after the operation was announced.
Officials and lawmakers have condemned the case as a serious breach of trust and a form of insider trading in prediction markets, highlighting concerns about the misuse of secret information for profit.
#Military#DOJ#InsiderTrading
👂More on Trump's Ear ⚠️
Quiver Quantitative | 𝕏
You can track Cantor Fitzgerald's stock portfolio on Quiver:
https://www.quiverquant.com/institutions/CANTOR%20FITZGERALD,%20L.%20P./
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
BREAKING: Cantor Fitzgerald, run by the children of Commerce Secretary Howard Lutnick, just filed a portfolio update.
They bought up huge amounts of Bitcoin, Trump Media stock, and stock in the Chinese company Alibaba.
Full portfolio below.
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
You can track Jane Street's stock portfolio on Quiver:
https://www.quiverquant.com/institutions/JANE%20STREET%20GROUP,%20LLC/
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
JUST IN: Jane Street just filed a holdings update.
They added approximately $1B of Bitcoin to their portfolio.
It is now their largest holding.
Full portfolio below.
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
You can track Michael Burry's portfolio here:
https://www.quiverquant.com/institutions/Scion%20Asset%20Management,%20LLC/
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
BREAKING: Michael Burry, of "The Big Short" fame, just filed a portfolio update.
He added:
- UnitedHealth, $UNH
- Lululemon, $LULU
- Bruker, $BRKR
- Regeneron, $REGN
- MercadoLibre, $MELI
Track his full portfolio on Quiver.
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
We received this data just 15 minutes ago.
Since then:
$UNH +7%
$NUE +6%
$LEN +4%
$DHI +3%
$ALL +0.5% https://twitter.com/QuiverQuant/status/1956086663156830469
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
We expect to have an update on Warren Buffet's portfolio in the next hour.
This might reveal the identify of the mystery stock that he has been buying up.
Turn on post notifications!
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading
Quiver Quantitative | 𝕏
BREAKING: We just received new data on Senator Dave McCormick's portfolio.
He has up to $5M in Bitcoin, $IBIT.
He also has to $1M in Ethereum, $ETHW.
McCormick sits on the Senate Subcommittee on Digital Assets.
Full portfolio up on Quiver.
~
₿izFeed#⃣:#stockmarketdata#stockmarketnews#insidertrading