@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
Hashtags
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
Пребарај: #learnenglish
@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
Hashtags
@adceducate · Post #8013 · 23.10.2023 г., 13:40
« ADC » THE WAY TO KNOWLEDGE 🧠🫨 #knowledge#adceducate#english#school#brain #learnenglish
Hashtags
@english_bbc_learning · Post #3698 · 28.09.2025 г., 09:41
🙄 Do you ever want to tell someone that you just don’t care? 🤷♂️🤷♀️ This expression is for you! 🐵⚠️Use it carefully though – it’s VERY informal! Write your answer in the comments and don’t forget to give this post a like! Do you have a similar expression in your language? #learnenglish
Hashtags
@englishtipsquizzes · Post #131 · 18.02.2023 г., 10:23
🔰🔰🔰 Questions without inversion In informal conversation a question can sometimes have the same word order as in a statement. The question has a rising intonation • The machine gives change? ~ No, it doesn't. • You're travelling tomorrow?~ Yes. • The car is blue?~ That's right. • The car is what colour? ~ Blue. • They went which way?~ That way. We use this kind of question only when it follows on from what was said before. I need a return ticket to Paddington • You're travelling when?~ Tomorrow. #learnenglish#vocabulary 👉@wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #70 · 09.02.2023 г., 11:30
#vocabulary#learnenglish
Hashtags
@englishtipsquizzes · Post #67 · 09.02.2023 г., 07:45
🔰When Someone Is Insistent/Pressuring You🔰 • I’d love to, but I really can’t/have to go/don’t have the time. • It’s been a pleasure, but I really have to go. • This simply isn’t the right time, unfortunately. • I would love to help you, but I’m already overcommitted as it is. • I wish I could be of more help to you, but I can’t. • I must respectfully decline. • I’m sorry, but I can’t help you. • I don’t have time for this at the moment. • Please leave me alone/stop pushing. • This conversation is unnecessary. • Maybe this is the way you get things done, but I don’t like it. • It’s useless; you’re wasting your efforts on me. • You’ll be wasting your time if you keep talking to me/pushing me. • Why don’t you take this up with someone who actually has the time? • You really should put your energy elsewhere. • If I need your help, I’ll ask for it. • The answer is no. • No is a complete sentence. • You’re pushing too hard—stop it! • Go bother somebody else! #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #58 · 07.02.2023 г., 13:22
**🔰Air Lane VS Airline🔰** • Air lane (Also: airway ) a regular route of travel for aircraft: - This will enable controllers to squeeze an extra 20 percent traffic into the crowded air lanes. • Airline 1. Company that carries passengers and cargo by airplane: - The airline has announced it will run daily service to Florida. 2. A tube through which air is passed under pressure: - Any big truck lives and dies, steers and brakes, on its air-lines. #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #51 · 06.02.2023 г., 09:15
🔰Adapted For Something VS Adapted To Something🔰 Adapted For Something —(of things) made suitable for a new use, situation, etc.: • The book was adapted for television as a four-part series screened by the BBC. Adapted To Something —(of people) accustomed or suitable to smth.: • I am not adapted to this business. • I was bred a farmer, and ought not to have left that occupation. #learnenglish#vocabulary
Hashtags
@englishtipsquizzes · Post #40 · 05.02.2023 г., 15:09
#learnenglish#grammar Don't forget to follow us 👇👇👇 @wallstreetenglish_WSE
Hashtags
@Englishdaybyday · Post #6254 · 22.07.2025 г., 20:21
✈️ Conversations on the plane 🤣#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3922 · 17.08.2025 г., 19:16
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3867 · 07.07.2025 г., 19:56
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags