On 24. 06. 24 23:08, Fabio Valentini wrote:
On Mon, Jun 24, 2024 at 3:53 PM Miro Hrončok mhroncok@redhat.com wrote:
On 17. 04. 24 18:40, Victor Stinner wrote:
On Wed, Apr 17, 2024 at 2:38 PM Miro Hrončok mhroncok@redhat.com wrote:
Victor, do you think it would be possible to build in the JIT support but have a runtime opt-out/opt-in switch? That way, we can build it, but disable it by default, unless our users want to experiment with it.
PEP 744 "JIT Compilation" informal PEP is being discussed. I asked your question there: https://discuss.python.org/t/pep-744-jit-compilation/50756/33
The JIT support was built on x86_64+aarch64, on Fedora 40+
Set the PYTHON_JIT environment variable to 1 to enable it on runtime.
So this means that the JIT-enabled Python is not, as initially expected, a separate build, but something that can be enabled in existing builds by passing this environment variable instead? Nice!
Exactly. The fact that it is built in might still create some regressions, but if the opt-in mechanism works correctly, only those who want the JIT will have it.