How to Compile Python 3.13 Without the GIL: Step-by-Step Guide

preview_player
Показать описание
In this video, we will walk you through the process of compiling Python 3.13 without the Global Interpreter Lock (GIL). Removing the GIL can improve the performance of multi-threaded Python programs.

commands:
sudo apt install build-essential
sudo apt install libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev
sudo apt install libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev

./configure --disable-gil --enable-optimizations --with-lto

make -j 32
Рекомендации по теме
welcome to shbcf.ru