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

Резултати

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

Пребарај: #speakenglish

当前筛选 #speakenglish清除筛选

We are super excited for you to meet our friend, Bekzod Kholmurodov, an Uzbekistan-born sophomore student at Drexel University, USA this Saturday, at 19:00 Tashkent time! Don’t miss this unique opportunity to learn from someone who has an invaluable experience of coming to the US as an international high school student first, and now is a college student as a El-Yurt Umidi scholar! Invite your friends and get your questions ready!! #UzbeksInAmerica#SpeakEnglish#OneStepAtATime 🇺🇸🤝🇺🇿

BBC Learning English

@english_bbc_learning · Post #3765 · 25.11.2025 г., 10:12

⁣ 🥊 There are quite a few English phrasal verbs with ‘hit’ – here are 5 of them to learn and use. 👋 Have a go at the quiz – and see if you can use any of them in a sentence of your own! (Images: Getty)⁣ ⁣ Extra: Click on our link in bio to learn 4 phrases with 'hit'.⁣ ⁣ #learnenglish#vocab#vocabulary#speakenglish#englishtips ⁣

BBC Learning English

@english_bbc_learning · Post #3912 · 08.02.2026 г., 08:19

Let’s be real: You’ve probably seen a list like this 1,000 times. It looks repetitive, maybe even "dumb." But here is why it actually matters for you: When you only have one word for everything (like "Good"), your brain "glitches" when you're trying to speak fast. You hesitate because you're searching for variety but your "vocabulary folder" is empty. 🧠 The Secret to Speaking Fast:🛫 Fluency isn't about knowing the hardest words; it's about having options. When you have 3-4 ways to say the same thing, your brain doesn't have to stall. It just picks the next available word and keeps the flow going. - #English#SpeakEnglish#EnglishTips#Vocabulary#SpokenEnglish

Daily Channels

@dailychannels · Post #6511 · 28.11.2025 г., 13:00

Group: English Chatting House | Global English Speaking Chat Members: ~4.48K 💢 Username: @english_chatting_house Description: ⭐ Welcome to ECH! English only - global English chat, spoken English practice, fun talks & chill worldwide vibes. Talk English, meet international people, improve fluency, keep it clean. No beef, no hate, no promo. Got any queries? :- @Bilxerian 🏷 Tags: #languages #learnenglish#englishchat#speakenglish#englishgroup#globalchat https://telegramchannels.me/groups/english_chatting_house

BBC Learning English

@english_bbc_learning · Post #3937 · 02.04.2026 г., 15:48

Idiom of the Day! 🚌 Throw someone under the bus Meaning: To blame someone else so you don't get in trouble. Example: "Mark made the mistake, but he threw me under the bus!" 😠 #LearnEnglish#EnglishIdioms#Vocabulary#ESL#EnglishPhrases#SpeakEnglish

BBC Learning English

@english_bbc_learning · Post #3804 · 14.12.2025 г., 07:15

Do you know someone who always thinks that everyone else has a better life than them?! 🙄😅 Scroll through the images to find out how to use ‘the grass is always greener on the other side’ 🌱, and don’t forget to answer the questions on the last slide! ⁣ ⁣ EXTRA: Could walking 7,000 steps a day could improve your mental health? 🚶 Click the link in our bio to find out and learn some useful vocabulary in the process! 📰💚⁣ ⁣ Image: Getty⁣ ⁣ #vocabulary#learnenglish#englishlanguage#expression#idiom#proverb#englishclass#speakenglish

BBC Learning English

@english_bbc_learning · Post #3776 · 29.11.2025 г., 10:17

You know when somebody just WON’T change their ways? 😠 We’ve got an English expression for that! ✅ ⁣ ⁣ Scroll through the images to find out how to use ‘You can’t teach an old dog new tricks.’ ❌🐶 ⁣ ⁣ Can you use it in a sentence – and do you have a similar expression in your language? 👇👇👇⁣ ⁣ MORE: If you'd like to learn some more animal idioms, like 'rabbit on 🐰' or 'as sick as a parrot 🦜', click the link in our bio! ⁣ ⁣ Image: Getty⁣ ⁣ #trick#proverb#learnenglish#vocabulary#learnenglish#englishlanguage#expression#idiom#englishclass#speakenglish ⁣

BBC Learning English

@english_bbc_learning · Post #3809 · 15.12.2025 г., 05:11

Here are 5 linkers that you can add to your conversation to make it flow better and sound more fluent! 1) To be honest – I’m going to give my opinion (even if it’s insulting!) 2) Actually – to correct information or say something surprising 3) Mind you – I’ve just thought of something that contrasts what I was saying 4) By the way – I’m going to introduce a new topic I’ve just remembered 5) Anyway – I’m going to finish the conversation or change topic now Add them to your conversations to help them flow! Which one is your favourite? #learnenglish#speakenglish#vocabulary#bbclearningenglish#britishenglish#formalenglish#linkers#naturalenglish#nativespeakerenglish#conversationskills#ncoversationalenglish

BBC Learning English

@english_bbc_learning · Post #3691 · 21.09.2025 г., 05:35

🚀 Power up your English vocabulary with these FIVE phrasal verbs with ‘pay’! Take a look 👀 and then practise using them right now in the comments! 🤔 Do you know any more phrasal verbs with ‘pay’?⁣ ⁣ (Images: Getty)⁣ ⁣ 🎧 Click on the link in our bio to listen to Neil and Georgie talk about money!⁣ ⁣ #phrasal#phrasalverb#pay#payoff#payout#payup#payfor#learnenglish#vocab#vocabulary#speakenglish#englishtips