Search results
Oct 23, 2012 · To answer the question you meant to ask: CPython, 3.x or otherwise, does not, never did, and likely never will, contain a JIT compiler. Some other Python implementations (PyPy natively, Jython and IronPython by re-using JIT compilers for the virtual machines they build on) do have a JIT compiler.
Cross-compiling "just works", since the JIT is built for the host platform. The JIT can also be enabled or disabled using the PYTHON_JIT environment variable, even on builds where it is enabled or disabled by default.
Apr 11, 2024 · Add GPU support. The JIT is currently CPU-only. It does not, for example, offload NumPy array computations to CUDA GPUs, as JITs like Numba do. There is already a rich ecosystem of tools for accelerating these sorts of specialized tasks, and CPython’s JIT is not intended to replace them.
Making a JIT compiler would have to be an entirely new project. But seeing how many essential problems with Python interpreter aren't addressed in decades, I don't think that, at present, core developers are capable or willing to embark on such a project.
Jan 10, 2024 · The next release of CPython is likely to include a JIT (just in time) compiler, which according to early tests will bring some immediate speed improvements and the prospect of significant future optimizations.
Apr 12, 2024 · PEP 744 is an informational PEP answering many common questions about CPython 3.13’s new experimental JIT compiler. My main goal for this PEP is to build community consensus around the specific criteria that the JIT should meet in order to become a permanent, non-experimental part of CPython.
People also ask
Will CPython have a JIT compiler?
Which Python implementation has a JIT?
Can CPython be built without JIT?
What is a JIT in Python?
Is CPython compatible with Python?
How long does a JIT take to build CPython?
Jun 18, 2024 · Those who want to build the JIT into their Python can simply pass a flag to either configure (--enable-experimental-jit) or build.bat (--experimental-jit). That should work for cross-compilation as well.