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

Резултати

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

Пребарај: #innovation

当前筛选 #innovation清除筛选
Viral Today

@viral_today · Post #3331 · 29.06.2025 г., 16:41

This sun visor can switch between full mirror mode and seeing-through as well as dimming on demand depending on how strong the sun is. @Viral_Today / #innovation

Hashtags

Viral Today

@viral_today · Post #3153 · 24.10.2024 г., 14:39

Meet Torso, the first bimanual android from Clone, powered by artificial muscles. It features an actuated elbow, cervical spine (neck), and anthropomorphic shoulders with complex joints, including the sternoclavicular, acromioclavicular, scapulothoracic, and glenohumeral joints. @Viral_Today / #innovation

Hashtags

Viral Today

@viral_today · Post #3091 · 05.10.2024 г., 15:51

The interactive dress from Project Primrose, developed by Adobe researchers, uses smart materials to turn surfaces into dynamic displays. Powered by light-diffusing modules, it can be layered into everything from clothing to furniture, and even billboards. @Viral_Today / #innovation

Hashtags

Viral Today

@viral_today · Post #3000 · 10.09.2024 г., 17:36

Salmon showcased groundbreaking prosthetics, that will enhance the lives of athletes with disabilities. @Viral_Today / #innovation

Hashtags

Viral Today

@viral_today · Post #2837 · 07.08.2024 г., 14:31

Imagine bricks that absorb traffic noise! Joe Kirma’s innovative ceramic bricks use Helmholtz resonators to tackle low-frequency sounds, improving city soundscapes. These interlocking bricks let natural sounds like birds and conversation pass through while muting the roar of cars. Discover how this groundbreaking idea, which has already garnered over 1.2 million views, is transforming urban living. @Viral_Today / #Innovation

Hashtags

Bali News

@balinews · Post #460 · 11.07.2025 г., 12:36

👮‍♂️Modernization of the Indonesian police: robot officers undergo testing 📰 The Indonesian police have deployed the first test robots on the streets of Jakarta: a humanoid robot establishes contact with citizens, while a four-legged i-K9 searches for explosives and detects chemical leaks. 💸 The project is still in the testing phase, and the procurement budget has not been approved, but the basic version of the “electronic dog” has already been estimated at 3 billion rupiah. 🤝 If the tests are successful, the robots will become assistants in rescue operations and patrols in dangerous areas. #innovation@BaliNews

Hashtags

bcgincis

@bcgincis · Post #39 · 14.02.2018 г., 12:57

#innovation Стартапы с капитализацией более одного миллиарда долларов встречаются крайне редко и являются почти мифическими, именно поэтому их можно назвать "компаниями-единорогами". Константин Полунин, глава практики BCG по работе с государственным сектором, считает, что в России уже существует экосистема и финансовые институты, необходимые для появления в стране "компаний-единорогов", но нужно сделать еще ряд шагов, чтобы такие компании активнее появлялись в стране и не покидали ее. Российских "единорогов" пока немного, среди них - Avito и Telegram. Однако существуют и другие компании с большим потенциалом, способные стать таковыми. Узнайте больше о «единорогах» здесь: http://on.bcg.com/2Eo4hu9

Hashtags

🦾 Руфилмс помогает людям осваиваться в цифровом мире. Мы не только разрушаем языковые барьеры, но и преодолеваем физические ограничения. Смотрите, какие разработки мы представили на Всемирной выставке инноваций в Дубае 🧠 #rufilms#innovation https://youtu.be/fNW85QufJ_I

Car News

@car_news · Post #1060 · 04.03.2025 г., 14:03

📰BYD cars now have an on-vehicle DJI drone launch platform ℹ️ EV maker BYD unveiled “Lingyuan,” a vehicle-mounted drone launching system developed in collaboration with DJI that is available for all of the company’s vehicles. The system is only available in China, like BYD’s vehicles, and costs 16,000 yuan (or about $2,197). 📱 BYD’s video above has some real science fiction vibes: the driver taps a button on their vehicle’s touch screen, and doors slide open on the top of the car, revealing a rising landing platform with a drone on it. The drone is shown lifting off while the EV is in motion in some shots, then following the car down the road. @CarsNews #China#innovation

Car News

@car_news · Post #1120 · 21.03.2025 г., 20:04

🤖Robots have started working at the Mercedes-Benz plant 📰 The robots were created by the American company Apptronik. The German carmaker has invested tens of millions of dollars in this organization and now uses the robots at the Berlin-Marienfeld plant. ℹ️ Apollo's robots are used for internal logistics and are focused on repetitive tasks. For example, they can move components or modules to the production line, where skilled technicians assemble them and install them in vehicles. They can also be used for initial quality checks on parts. 🤖 The robots were trained by Mercedes-Benz employees themselves using teleoperation and augmented reality. @CarsNews #Mercedes#innovation

Viral Today

@viral_today · Post #2840 · 07.08.2024 г., 16:49

Check out Figure 02, the latest humanoid robot now working autonomously at BMW’s Spartanburg factory! This advanced robot features a 16-degree-of-freedom hand, onboard inference with VLM for speech-to-speech reasoning, a 2.25 KWh battery, and an exoskeleton structure with integrated wiring. Watch how it’s revolutionizing car manufacturing. @Viral_Today / #Tech#Innovation

123•••10•••20•••30•••40•••4344
ПретходнаСтраница 1 од 44Следна