Skip to content

Compile with the JIT #1009

Description

@coderanger

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.

Activity

  1. tianon commented on Mar 5, 2025

    @tianon
    Member

    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)

  2. coderanger commented on Mar 5, 2025

    @coderanger
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions