The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"В CPython появится возможность отключения глобальной блокировки интерпретатора"
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Присылайте удачные настройки в раздел примеров файлов конфигурации на WIKI.opennet.ru.
. "В CPython появится возможность отключения глобальной блокиро..." +/
Сообщение от Аноним (1), 10-Янв-23, 23:35 
держи, брат аноним, как это собираются воплощать и чем придется заплатить

Removing the global interpreter lock requires substantial changes to CPython internals, but relatively few changes to the public Python and C APIs. This section describes the required changes to the CPython implementation followed by the proposed API changes.

The implementation changes can be grouped into the following four categories:

    Reference counting
    Memory management
    Container thread-safety
    Locking and atomic APIs

The changes to make CPython thread-safe without the GIL have a negative performance impact on single-threaded performance. The largest impact is due to the reference counting changes, particularly biased reference counting and immortalization. On Python 3.11, implementing biased reference counting and immortalization results in about a 10% geomean regression on the pyperformance suite.

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
В CPython появится возможность отключения глобальной блокировки интерпретатора, opennews, 10-Янв-23, 23:35  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру