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

Резултати

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

Пребарај: #pov

当前筛选 #pov清除筛选
Virtual 207

@the_mutarjim · Post #20192 · 20.12.2025 г., 05:30

#PoV Sad news for French readers: publishing house Harlequin has decided to stop publishing human-made translations in French, and will instead rely on AI. All of their freelance translators (some of whom had been working with Harlequin for more than 30 years!) were told they would no longer receive translation work. They can, however, work with Fluent Planet (Harlequin's new partner, that will provide the AI translations) to "improve their AI-translations" (or, given the quality of AI translation, rewrite entirely the text from scratch)... for 1/3 of their normal rates (which were already pretty low to begin with). Of course, despite the cost-saving mesure for Harlequin, French readers will still be required to pay their books the same price... while getting butchered translations. This is not without consequences: ● Translators suddenly no longer being offered work from Harlequin is the equivalent of a mass lay-off... But as freelancers, they do not get any unemployment benefits or compensation. ● Working with Fluent Planet instead of Harlequin means the translators are no longer considered like authors/artists under the French law, but like external contractors. This means that on top of having their revenues divided by three, they lose various legal rights (such as the right to be credited as a literary translator in the book!), protections and grants. ● This is incredibly disrespectful to the original works that are now ran through AI translation softwares. These softwares were trained on both Harlequin's French collection and the original source texts, without the authors' and translator's consent (and none of them was paid for that, even though Fluent Planet is now making money out of these AI softwares). New books published are now translated by an AI, still without the original authors' consent (who probably aren't too happy about that). Lots of nuance, cultural reference and stylistic choices will be lost. Do not be fooled by the fact that Harlequin's books are "just romance books". Romance is far from being the easiest genre to translate, and romance-readers, as paying customers, deserve exactly the same respect as any other readers, and that is: high-quality translations. AI might be coming for romance first, but it will not stop there if we, readers, translators, authors, literary agents, publishers, do not push back. Let Harlequin know we don't want their AI-butchered books, we don't want their dystopian future were human art and emotions are left to robots, we don't want to support company that let go of their workforce without a second-thought, just so numbers keep going up indefinitely. We're not paying a dime for AI slop! © Apolline Descy, Freelance translator (English-Dutch-Spanish​>French) specialised in game localisation, literature and medical translation

Hashtags

Железно | Киров

@gk_zhelezno · Post #766 · 12.03.2023 г., 11:26

#pov — смотрим на город будущего глазами жителей ZNAKа. У людей, окружающих себя красотой, развивается эстетический вкус. Обостренное чувство прекрасного активизирует способности альтернативного восприятия. Это означает, что человек начинает видеть возможности там, где другие их не находят. Просыпайтесь каждый день с удовольствием, наслаждайтесь видами из окон, гуляйте по благоустроенной территории своего жилого комплекса и проводите больше времени с любимыми в городе будущего ZNAK — месте, полном возможностей для вашей счастливой жизни❤️ #ZNAK

Hashtags

IRAS

@irassg · Post #775 · 09.02.2024 г., 06:50

Bracing for the annual CNY “kaypoh” questions too? 😅 Here’s one thing less to worry about – use the Personal Relief Checker (go.gov.sg/personalreliefchecker) to discover the personal tax reliefs you're eligible for in the upcoming tax season! 🔍 #pov#skit#cny2024#asianrelatives#taxreliefs#taxtips#irassg

12
ПретходнаСтраница 1 од 2Следна