Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile with the JIT #1009

Open
coderanger opened this issue Mar 5, 2025 · 2 comments
Open

Compile with the JIT #1009

coderanger opened this issue Mar 5, 2025 · 2 comments

Comments

@coderanger
Copy link

For 3.13 and above the experimental JIT could be activated in the build but disabled by default. Adding --enable-experimental-jit=yes-off carries minimal risk and allows end-users to activate JIT support with the $PYTHON_JIT environment variable. Mostly creating this for tracking purposes.

This looks to be relatively low risk but would require installing LLVM during the compile. Shouldn't increase the resulting image size as it can be removed before the end of the build step.

@tianon
Copy link
Member

tianon commented Mar 5, 2025

The fact that upstream still considers it experimental gives me extreme pause -- I'd really hate for that "minimal" to become accidentally load-bearing. 😬

(#947 (comment) is somewhere else this has been mentioned, FWIW)

@coderanger
Copy link
Author

With these images frequently being used for local development and the like, I think it being supported here will be an important step in getting it from "experimental" to "trusted" :) Wouldn't advocate it being turned on for production web servers but the image is used for a lot more than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants