@H2HOLE · Post #161 · 27.05.2024, 16:25
Python 3.13 起已可使用 --disable-gil 关闭 GIL。 https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython thread: /4469 #Python#GIL
TGINSIGHT SIMILAR POSTS
Источник @procode404 · Post #3984 · 15 мар.
🔥 Говнокод это хорошо — [14:40] Название кликбейт. Говнокода в проде быть не должно. Речь пойдёт о том, что говнокод это не плохо на первых порах и он подойдёт для построения структуры в голове. В этом видео речь пойдёт о критике, говнокоде, истинной сути рефакторинга, когда его нужно применять, а когда не стоит тратить время. Перейти к просмотру #видео#теория
Поиск: #gil
@H2HOLE · Post #161 · 27.05.2024, 16:25
Python 3.13 起已可使用 --disable-gil 关闭 GIL。 https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython thread: /4469 #Python#GIL
@djangoproject · Post #156 · 06.09.2016, 01:43
https://wiki.python.org/moin/GlobalInterpreterLock In #CPython, the #global#interpreter lock, or #GIL, is a mutex that prevents multiple native #threads from executing Python bytecodes at once. This lock is necessary mainly because CPython's memory management is not thread-safe. (However, since the GIL exists, other features have grown to depend on the guarantees that it enforces.)