facebookincubator/cinderx
소개
High-performance Python runtime extensions
프로그래밍 언어 및 런타임What you can do
- JIT Compiler - Just-in-time compilation of Python bytecode to native machine code
- Static Python - A stricter form/subset of Python, for type safety and optimization
측정된 스타 증가
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +5
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCinderX

CinderX is a Python extension that improves the performance of the Python runtime.
Status
CinderX is under active development. It is used in production at Meta for use-cases like the Instagram Django service. It is experimental for external users. New releases are published to PyPI on a weekly basis.
Features
- JIT Compiler - Just-in-time compilation of Python bytecode to native machine code
- Static Python - A stricter form/subset of Python, for type safety and optimization
The codebase includes other features as well, such as a parallel garbage collector and a lighter weight implementation of Python interpreter frames. However these features are not compatible with the stock CPython runtime yet.
Requirements
- Python ≥3.14.5,<3.16
- GCC 13+ or Clang 18+
| Linux | macOS | Windows | |
|---|---|---|---|
| x86-64 | :white_check_mark: | :x: | :white_check_mark: |
| aarch64 | :white_check_mark: | :white_check_mark: | :x: |
Installation
pip install cinderx
Using the JIT
The recommended way to start using the JIT is to do:
import cinderx.jit
cinderx.jit.auto()
This will configure the CinderX extension to automatically compile Python functions to machine code. It will track what functions are called frequently and compile the hottest ones automatically.
See the JIT documentation for more details, or browse the full CinderX documentation site.
CinderX vs Cinder
Cinder was a fork of the CPython runtime developed at Meta. It included runtime optimizations (e.g. JIT) and was specifically targeted at the Instagram Django codebase. For Python 3.10, Meta decided to turn it into a Python extension to improve compatibility with newer Python versions. This extension is now known as CinderX ("the X" is for "extension").
Historically, for Python versions 3.10 through 3.12, CinderX depended on patches to Meta's fork of the Python runtime. Python 3.14 is the first version of stock CPython that CinderX supports.
License
CinderX is MIT licensed, see the LICENSE file.
Terms of Use
https://opensource.fb.com/legal/terms
Privacy Policy
https://opensource.fb.com/legal/privacy
Copyright © 2025 Meta Platforms, Inc.
관련 프로젝트 살펴보기
불러오는 중…