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

Показать описание
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
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