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

Резултати

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

Пребарај: #poyekhali

当前筛选 #poyekhali清除筛选
Russian MFA 🇷🇺

@MFARUSSIA · Post #29169 · 11.04.2026 г., 21:58

6️⃣5️⃣years since Yuri Gagarin’s historic space feat! 🚀On April 12, 1961, the Vostok launch vehicle lifted off from the Baikonur Cosmodrome. This momentous event marked the culmination of the efforts of millions of Soviet citizens – design engineers, scientists, military pilots, doctors, specialists across a wide range of fields, and entire branches of industry. Inside the cramped cabin of the crewed spacecraft was Senior Lieutenant Yuri Gagarin. At 9:07 am, the four metal arms holding the 287-tonne rocket retracted, and Vostok began its lift-off. It was at that very moment that Gagarin’s famous “#POYEKHALI!”(*Let’s go!) rang out over the radio. At 9:12 am, the spacecraft separated from the launch vehicle and entered the Earth's orbit. Its speed reached 28,260 kilometres per hour – nearly 8 kilometres per second. Never before had a human travelled so fast. 🎙Just as the spacecraft reached Earth's orbit, Yuri Levitan – the USSR’s iconic radio announcer – solemnly declared to the world: This is Moscow speaking! The time in Moscow is 10:02 am. We are broadcasting a TASS report on the first human flight into outer space. On April 12, 1961, the Soviet Union launched into orbit around the Earth the world’s first spacecraft-satellite, Vostok, with a man on board. The pilot-cosmonaut is a citizen of the USSR, Air Force Major Yuri Gagarin (the extraordinary rank was conferred by Order No. 77 of the USSR Minister of Defence, dated April 12, 1961). While in orbit, Gagarin recorded his observations and transmitted them back to Earth. Before him lay the planet as no one had ever seen it before: the curve of the horizon, the luminous blue edge of the atmosphere, coastlines, mountain ranges, vast landmasses – all set against the bottomless black void of space. Almost 90 minutes into the flight, the spacecraft began its descent. At that moment, a highly dangerous emergency arose: the descent module failed to separate immediately from the equipment module. However, as the spacecraft re-entered the dense layers of the atmosphere, the connecting cables between the two sections burned through due to friction, and the descent continued. At 10:42 am, at an altitude of 7 km, the cosmonaut ejected. At 10:53 am, Yuri Gagarin landed safely in a field near the city of Engels, around 4 km from the present-day bank of the Volga. On April 14, 1961, by Decree No. 251/22 of the Presidium of the Supreme Soviet of the USSR, Yuri Gagarin was awarded the title Hero of the Soviet Union, together with the Order of Lenin and the Gold Star medal. Two days later, the people of Moscow welcomed the space traveller to the Soviet capital with flowers and celebratory banners. By the end of April, Earth’s first cosmonaut embarked on an international tour to share what he had witnessed with people around the world. In the two years following this historic event, Yuri Gagarin visited more than 30 countries, where he was honoured as a true hero. The tour became unofficially known as the “Mission of Peace”. *** 1️⃣0️⃣6️⃣minutes of Yuri Gagarin's flight changed the course of world history. Just 16 years after the most devastating and bloodiest war in human history, the Soviet people achieved what had only recently seemed impossible – opening the way to space for all humankind. *** 💬 As President Vladimir Putin noted in his message to the participants in the first Russian Space Forum on April 9, 2026: Yuri Gagarin's spaceflight became one of the great events of the 20th century and opened a new era in the history of human civilisation. We are sincerely proud of several generations of talented scientists, designers, cosmonauts, military personnel and civilian specialists who stood at the origins of the national space programme and wrote bright, heroic pages in the chronicle of its victories and achievements. 🇺🇳 Since 2011, April 12 has been observed as the International Day of Human Space Flight, proclaimed by the UN General Assembly under resolution A/RES/65/271 in honour of Yuri Gagarin’s legendary mission. #Gagarin65#FirstInSpace

Russian Embassy in Cambodia

@russian_embassy_in_cambodia · Post #6007 · 11.04.2026 г., 22:46

6️⃣5️⃣years since Yuri Gagarin’s historic space feat! 🚀On April 12, 1961, the Vostok launch vehicle lifted off from the Baikonur Cosmodrome. This momentous event marked the culmination of the efforts of millions of Soviet citizens – design engineers, scientists, military pilots, doctors, specialists across a wide range of fields, and entire branches of industry. Inside the cramped cabin of the crewed spacecraft was Senior Lieutenant Yuri Gagarin. At 9:07 am, the four metal arms holding the 287-tonne rocket retracted, and Vostok began its lift-off. It was at that very moment that Gagarin’s famous “#POYEKHALI!”(*Let’s go!) rang out over the radio. At 9:12 am, the spacecraft separated from the launch vehicle and entered the Earth's orbit. Its speed reached 28,260 kilometres per hour – nearly 8 kilometres per second. Never before had a human travelled so fast. 🎙Just as the spacecraft reached Earth's orbit, Yuri Levitan – the USSR’s iconic radio announcer – solemnly declared to the world: This is Moscow speaking! The time in Moscow is 10:02 am. We are broadcasting a TASS report on the first human flight into outer space. On April 12, 1961, the Soviet Union launched into orbit around the Earth the world’s first spacecraft-satellite, Vostok, with a man on board. The pilot-cosmonaut is a citizen of the USSR, Air Force Major Yuri Gagarin (the extraordinary rank was conferred by Order No. 77 of the USSR Minister of Defence, dated April 12, 1961). While in orbit, Gagarin recorded his observations and transmitted them back to Earth. Before him lay the planet as no one had ever seen it before: the curve of the horizon, the luminous blue edge of the atmosphere, coastlines, mountain ranges, vast landmasses – all set against the bottomless black void of space. Almost 90 minutes into the flight, the spacecraft began its descent. At that moment, a highly dangerous emergency arose: the descent module failed to separate immediately from the equipment module. However, as the spacecraft re-entered the dense layers of the atmosphere, the connecting cables between the two sections burned through due to friction, and the descent continued. At 10:42 am, at an altitude of 7 km, the cosmonaut ejected. At 10:53 am, Yuri Gagarin landed safely in a field near the city of Engels, around 4 km from the present-day bank of the Volga. On April 14, 1961, by Decree No. 251/22 of the Presidium of the Supreme Soviet of the USSR, Yuri Gagarin was awarded the title Hero of the Soviet Union, together with the Order of Lenin and the Gold Star medal. Two days later, the people of Moscow welcomed the space traveller to the Soviet capital with flowers and celebratory banners. By the end of April, Earth’s first cosmonaut embarked on an international tour to share what he had witnessed with people around the world. In the two years following this historic event, Yuri Gagarin visited more than 30 countries, where he was honoured as a true hero. The tour became unofficially known as the “Mission of Peace”. *** 1️⃣0️⃣6️⃣minutes of Yuri Gagarin's flight changed the course of world history. Just 16 years after the most devastating and bloodiest war in human history, the Soviet people achieved what had only recently seemed impossible – opening the way to space for all humankind. *** 💬 As President Vladimir Putin noted in his message to the participants in the first Russian Space Forum on April 9, 2026: Yuri Gagarin's spaceflight became one of the great events of the 20th century and opened a new era in the history of human civilisation. We are sincerely proud of several generations of talented scientists, designers, cosmonauts, military personnel and civilian specialists who stood at the origins of the national space programme and wrote bright, heroic pages in the chronicle of its victories and achievements. 🇺🇳 Since 2011, April 12 has been observed as the International Day of Human Space Flight, proclaimed by the UN General Assembly under resolution A/RES/65/271 in honour of Yuri Gagarin’s legendary mission. #Gagarin65#FirstInSpace

6️⃣5️⃣years since Yuri Gagarin’s historic space feat! 🚀On April 12, 1961, the Vostok launch vehicle lifted off from the Baikonur Cosmodrome. This momentous event marked the culmination of the efforts of millions of Soviet citizens – design engineers, scientists, military pilots, doctors, specialists across a wide range of fields, and entire branches of industry. Inside the cramped cabin of the crewed spacecraft was Senior Lieutenant Yuri Gagarin. At 9:07 am, the four metal arms holding the 287-tonne rocket retracted, and Vostok began its lift-off. It was at that very moment that Gagarin’s famous “#POYEKHALI!”(*Let’s go!) rang out over the radio. At 9:12 am, the spacecraft separated from the launch vehicle and entered the Earth's orbit. Its speed reached 28,260 kilometres per hour – nearly 8 kilometres per second. Never before had a human travelled so fast. 🎙Just as the spacecraft reached Earth's orbit, Yuri Levitan – the USSR’s iconic radio announcer – solemnly declared to the world: This is Moscow speaking! The time in Moscow is 10:02 am. We are broadcasting a TASS report on the first human flight into outer space. On April 12, 1961, the Soviet Union launched into orbit around the Earth the world’s first spacecraft-satellite, Vostok, with a man on board. The pilot-cosmonaut is a citizen of the USSR, Air Force Major Yuri Gagarin (the extraordinary rank was conferred by Order No. 77 of the USSR Minister of Defence, dated April 12, 1961). While in orbit, Gagarin recorded his observations and transmitted them back to Earth. Before him lay the planet as no one had ever seen it before: the curve of the horizon, the luminous blue edge of the atmosphere, coastlines, mountain ranges, vast landmasses – all set against the bottomless black void of space. Almost 90 minutes into the flight, the spacecraft began its descent. At that moment, a highly dangerous emergency arose: the descent module failed to separate immediately from the equipment module. However, as the spacecraft re-entered the dense layers of the atmosphere, the connecting cables between the two sections burned through due to friction, and the descent continued. At 10:42 am, at an altitude of 7 km, the cosmonaut ejected. At 10:53 am, Yuri Gagarin landed safely in a field near the city of Engels, around 4 km from the present-day bank of the Volga. On April 14, 1961, by Decree No. 251/22 of the Presidium of the Supreme Soviet of the USSR, Yuri Gagarin was awarded the title Hero of the Soviet Union, together with the Order of Lenin and the Gold Star medal. Two days later, the people of Moscow welcomed the space traveller to the Soviet capital with flowers and celebratory banners. By the end of April, Earth’s first cosmonaut embarked on an international tour to share what he had witnessed with people around the world. In the two years following this historic event, Yuri Gagarin visited more than 30 countries, where he was honoured as a true hero. The tour became unofficially known as the “Mission of Peace”. *** 1️⃣0️⃣6️⃣minutes of Yuri Gagarin's flight changed the course of world history. Just 16 years after the most devastating and bloodiest war in human history, the Soviet people achieved what had only recently seemed impossible – opening the way to space for all humankind. *** 💬 As President Vladimir Putin noted in his message to the participants in the first Russian Space Forum on April 9, 2026: Yuri Gagarin's spaceflight became one of the great events of the 20th century and opened a new era in the history of human civilisation. We are sincerely proud of several generations of talented scientists, designers, cosmonauts, military personnel and civilian specialists who stood at the origins of the national space programme and wrote bright, heroic pages in the chronicle of its victories and achievements. 🇺🇳 Since 2011, April 12 has been observed as the International Day of Human Space Flight, proclaimed by the UN General Assembly under resolution A/RES/65/271 in honour of Yuri Gagarin’s legendary mission. #Gagarin65#FirstInSpace

Russian Mission to ASEAN

@aseanrussia · Post #2098 · 12.04.2026 г., 03:30

6️⃣5️⃣years since Yuri Gagarin’s historic space feat! 🚀On April 12, 1961, the Vostok launch vehicle lifted off from the Baikonur Cosmodrome. This momentous event marked the culmination of the efforts of millions of Soviet citizens – design engineers, scientists, military pilots, doctors, specialists across a wide range of fields, and entire branches of industry. Inside the cramped cabin of the crewed spacecraft was Senior Lieutenant Yuri Gagarin. At 9:07 am, the four metal arms holding the 287-tonne rocket retracted, and Vostok began its lift-off. It was at that very moment that Gagarin’s famous “#POYEKHALI!”(*Let’s go!) rang out over the radio. At 9:12 am, the spacecraft separated from the launch vehicle and entered the Earth's orbit. Its speed reached 28,260 kilometres per hour – nearly 8 kilometres per second. Never before had a human travelled so fast. 🎙Just as the spacecraft reached Earth's orbit, Yuri Levitan – the USSR’s iconic radio announcer – solemnly declared to the world: This is Moscow speaking! The time in Moscow is 10:02 am. We are broadcasting a TASS report on the first human flight into outer space. On April 12, 1961, the Soviet Union launched into orbit around the Earth the world’s first spacecraft-satellite, Vostok, with a man on board. The pilot-cosmonaut is a citizen of the USSR, Air Force Major Yuri Gagarin (the extraordinary rank was conferred by Order No. 77 of the USSR Minister of Defence, dated April 12, 1961). While in orbit, Gagarin recorded his observations and transmitted them back to Earth. Before him lay the planet as no one had ever seen it before: the curve of the horizon, the luminous blue edge of the atmosphere, coastlines, mountain ranges, vast landmasses – all set against the bottomless black void of space. Almost 90 minutes into the flight, the spacecraft began its descent. At that moment, a highly dangerous emergency arose: the descent module failed to separate immediately from the equipment module. However, as the spacecraft re-entered the dense layers of the atmosphere, the connecting cables between the two sections burned through due to friction, and the descent continued. At 10:42 am, at an altitude of 7 km, the cosmonaut ejected. At 10:53 am, Yuri Gagarin landed safely in a field near the city of Engels, around 4 km from the present-day bank of the Volga. On April 14, 1961, by Decree No. 251/22 of the Presidium of the Supreme Soviet of the USSR, Yuri Gagarin was awarded the title Hero of the Soviet Union, together with the Order of Lenin and the Gold Star medal. Two days later, the people of Moscow welcomed the space traveller to the Soviet capital with flowers and celebratory banners. By the end of April, Earth’s first cosmonaut embarked on an international tour to share what he had witnessed with people around the world. In the two years following this historic event, Yuri Gagarin visited more than 30 countries, where he was honoured as a true hero. The tour became unofficially known as the “Mission of Peace”. *** 1️⃣0️⃣6️⃣minutes of Yuri Gagarin's flight changed the course of world history. Just 16 years after the most devastating and bloodiest war in human history, the Soviet people achieved what had only recently seemed impossible – opening the way to space for all humankind. *** 💬 As President Vladimir Putin noted in his message to the participants in the first Russian Space Forum on April 9, 2026: Yuri Gagarin's spaceflight became one of the great events of the 20th century and opened a new era in the history of human civilisation. We are sincerely proud of several generations of talented scientists, designers, cosmonauts, military personnel and civilian specialists who stood at the origins of the national space programme and wrote bright, heroic pages in the chronicle of its victories and achievements. 🇺🇳 Since 2011, April 12 has been observed as the International Day of Human Space Flight, proclaimed by the UN General Assembly under resolution A/RES/65/271 in honour of Yuri Gagarin’s legendary mission. #Gagarin65#FirstInSpace

Embassy of Russia in Singapore

@rusembsg · Post #4413 · 13.04.2026 г., 02:24

6️⃣5️⃣years since Yuri Gagarin’s historic space feat! 🚀On April 12, 1961, the Vostok launch vehicle lifted off from the Baikonur Cosmodrome. This momentous event marked the culmination of the efforts of millions of Soviet citizens – design engineers, scientists, military pilots, doctors, specialists across a wide range of fields, and entire branches of industry. Inside the cramped cabin of the crewed spacecraft was Senior Lieutenant Yuri Gagarin. At 9:07 am, the four metal arms holding the 287-tonne rocket retracted, and Vostok began its lift-off. It was at that very moment that Gagarin’s famous “#POYEKHALI!”(*Let’s go!) rang out over the radio. At 9:12 am, the spacecraft separated from the launch vehicle and entered the Earth's orbit. Its speed reached 28,260 kilometres per hour – nearly 8 kilometres per second. Never before had a human travelled so fast. 🎙Just as the spacecraft reached Earth's orbit, Yuri Levitan – the USSR’s iconic radio announcer – solemnly declared to the world: This is Moscow speaking! The time in Moscow is 10:02 am. We are broadcasting a TASS report on the first human flight into outer space. On April 12, 1961, the Soviet Union launched into orbit around the Earth the world’s first spacecraft-satellite, Vostok, with a man on board. The pilot-cosmonaut is a citizen of the USSR, Air Force Major Yuri Gagarin (the extraordinary rank was conferred by Order No. 77 of the USSR Minister of Defence, dated April 12, 1961). While in orbit, Gagarin recorded his observations and transmitted them back to Earth. Before him lay the planet as no one had ever seen it before: the curve of the horizon, the luminous blue edge of the atmosphere, coastlines, mountain ranges, vast landmasses – all set against the bottomless black void of space. Almost 90 minutes into the flight, the spacecraft began its descent. At that moment, a highly dangerous emergency arose: the descent module failed to separate immediately from the equipment module. However, as the spacecraft re-entered the dense layers of the atmosphere, the connecting cables between the two sections burned through due to friction, and the descent continued. At 10:42 am, at an altitude of 7 km, the cosmonaut ejected. At 10:53 am, Yuri Gagarin landed safely in a field near the city of Engels, around 4 km from the present-day bank of the Volga. On April 14, 1961, by Decree No. 251/22 of the Presidium of the Supreme Soviet of the USSR, Yuri Gagarin was awarded the title Hero of the Soviet Union, together with the Order of Lenin and the Gold Star medal. Two days later, the people of Moscow welcomed the space traveller to the Soviet capital with flowers and celebratory banners. By the end of April, Earth’s first cosmonaut embarked on an international tour to share what he had witnessed with people around the world. In the two years following this historic event, Yuri Gagarin visited more than 30 countries, where he was honoured as a true hero. The tour became unofficially known as the “Mission of Peace”. *** 1️⃣0️⃣6️⃣minutes of Yuri Gagarin's flight changed the course of world history. Just 16 years after the most devastating and bloodiest war in human history, the Soviet people achieved what had only recently seemed impossible – opening the way to space for all humankind. *** 💬 As President Vladimir Putin noted in his message to the participants in the first Russian Space Forum on April 9, 2026: Yuri Gagarin's spaceflight became one of the great events of the 20th century and opened a new era in the history of human civilisation. We are sincerely proud of several generations of talented scientists, designers, cosmonauts, military personnel and civilian specialists who stood at the origins of the national space programme and wrote bright, heroic pages in the chronicle of its victories and achievements. 🇺🇳 Since 2011, April 12 has been observed as the International Day of Human Space Flight, proclaimed by the UN General Assembly under resolution A/RES/65/271 in honour of Yuri Gagarin’s legendary mission. #Gagarin65#FirstInSpace