Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

cinderx: High-Performance Python Runtime Extensions

Дата публикации: 12-03-2026 22:19:37



Основное содержимое страницы с новостью.

PyPI - Version

The CinderX logo, which is a lowercase "cinderx" with the dot in the i as a small flame, and a stylized orange x

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
  • GCC 13+ or Clang 18+
Linux macOS Windows
x86-64
aarch64

Installation

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.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Pyre: New JIT Python interpreter written in Rust01006-04-2026
2PyWry: Cross-Platform Rendering Engine in Python026.6703-05-2026
3WebAssembly as a Python Extension Platform01010-01-2026
4PyPy: A new benchmark runner for PyPy07.3520-06-2026
5syrupy: The Sweeter pytest Snapshot Plugin01003-04-2026
6Free-threaded Python: past, present, and future026.6727-06-2026
7silkworm-rs: Free-Threaded Compatible Async Web Scraper043.3319-02-2026
8Using LLMs to find Python C-extension bugs024.2926-04-2026
9flake8-lazy: Detect Lazy-Importable Modules in Python 3.15+052.8601-06-2026
10jupyterlab-git: A Git Extension for JupyterLab026.6730-01-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 30. Источник: pythondigest.ru.