On 24. 06. 24 23:08, Fabio Valentini wrote:
On Mon, Jun 24, 2024 at 3:53 PM Miro Hrončok <[email protected]> wrote:

On 17. 04. 24 18:40, Victor Stinner wrote:
On Wed, Apr 17, 2024 at 2:38 PM Miro Hrončok <[email protected]> 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.

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to