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
🌎 The lost Etruscan language remains one of history’s great mysteries. Despite thousands of inscriptions, only parts have been decoded, as Etruscan is unrelated to Latin or Greek. Most surviving texts are funerary or religious, and the longest Etruscan text is on a linen mummy wrapping called the Liber Linteus. ✨
#history⚡#linguistics⚡#etruscan
👉subscribe Interesting Planet
🧩Which of these languages is agglutinative, meaning it builds words by adding simple parts that each express a meaning, rather than using separate words for each meaning?
Options:
Turkish
French
Chinese
English
Take the quiz below to find out
@languagetrivia#theory#linguistics#guess_the_languge
Құрметті Аударгазм клубының мүшелері!
Кейбір пікірлерге байланысты, "орысқұл, арабқұл, қытайқұл" деген ұлт пен болмысты балағайттайтын сөздерді, арна редакторы ретінде жақтырмайтымды ескертіп қоюдың орайы кеп тұр.
Мұнда тілдерді "ғылыми пән" (мүмкінінше) тұрғысында зерделеуге ұмтыламыз.
Тілі бөтен, түрі бөтенді бөлектеп, сабайтын құрал ретінде емес. Ұлтшыл патриот болсаңыз еш қарсылығымыз жоқ, бірақ арна бағыты бөлек, әрі ондай риториканы қолдамайтынымды ескеріп, арна мақсаты мен бағытына аздаған ізет танытуыңызды сұраймын.
Өз басым қазақ тілі ана тілім әрі басым тілім болған соң ғана мазмұн мен мәтінді көбіне қазақша жазамын.
Бұнымды әлдебір тілге қасақана басымдық беру емес, тарихи һәм кәсіби сәйкестік қана деп тапсаңыз игі еді.
Арнада үш тілдің кез келгеніне қатысты мәселені үш тілдің кез келгенінде тіл білімі тұрғысында бейтарап салыстырып, талқылауға болады.
Жаңа қосылған оқырманым, қош келдің, тұрақты оқырманым төзіміңе рақмет.
#тіл_білімі#языкознание#linguistics
Sindhu, Hindu, Indos, India — the modern name “India” ultimately traces back to the Sanskrit Sindhu, the great river named in the Rig‑Veda. As the name moved between languages it shifted: Iranian and some Indic neighbors changed initial s‑ to h‑ (Sindhu → Hindu), Arab and Persian speakers used related forms, and Greek writers rendered the people and land as Indos/India. Medieval European forms (Inde/Indie) circulated in manuscripts and maps, and by the 17th century the modern English name India returned via Latin, Spanish or Portuguese influence.
🌊📜🗺️
[Learn more]
@googlefactss
#etymology#history#linguistics#India#wordorigin
🎓 At the invitation of the Chair of Linguistics and Professional Communication in Foreign Languages at Ural Federal University (URFU), the Office of the Honorary Consul of South Africa in Yekaterinburg joined the graduation ceremony for this year’s linguists, translators, and language educators.
📚 As a token of appreciation, we presented the Chair with Jim Is Tired of Jo'burg by Mzuvukile Maqetuka, published last year by the URFU Publishing House and translated into Russian by Dr. Dmitry Pobedash, a faculty member of the Chair.
🤝 Also, we explored possible areas of cooperation for the upcoming academic year together with Dr. Maria Ilyushkina, Head of the Chair.
#URFU#Education#SouthAfrica#Translation#Linguistics#CulturalDialogue
The staff of the Honorary Consul's office gave a presentation on the Republic of South Africa and the role of Honorary Consul Sergey Mazurkevich to students in the Fundamental and Applied Linguistics and Roman-and-German Philology programs at the Department of Philology at Ural Federal University (URFU).
During the meeting, students had the opportunity to ask questions. After the presentation, we discussed potential avenues for further collaboration with Dr. Anna Plotnikova, Head of the Department.
#education#Yekaterinburg#URFU#Linguistics#Philology#SouthAfrica#HonoraryConsul#Mazurkevich
Snowclones are versatile phrase templates where key words can be swapped to create new, humorous meanings—like linguistic Mad Libs. Coined by linguists Geoffrey K. Pullum and Glen Whitman in 2004, they capture overused, customizable clichés popular in media and memes. Examples include “X is the new Y” or “I, for one, welcome our new X overlords.” They’re a fun way to remix language and culture. 🗣️🎭
Here’s a fresh snowclone to try out:
“X: Because sometimes, Y just isn’t enough.”
Examples:
- “Coffee: Because sometimes, sleep just isn’t enough.” ☕😴
- “Books: Because sometimes, reality just isn’t enough.” 📚✨
@googlefactss
#Snowclone#InternetCulture#Linguistics#Memes#LanguageFun