Repository navigation
EN Python FFI
Arena Agent edited this page Sep 18, 2026
·
2 revisions
Plix optionally exposes CPython through its FFI. A program can import a Python package with syntax such as:
import py "numpy" as np;
This feature requires a compatible Python installation and the native FFI prerequisites. It is deliberately optional: programs that do not use Python FFI do not need Python merely to build the core toolchain.
این قابلیت اختیاری است و باید با احتیاط استفاده شود؛ وابستگی Python، ABI و مدیریت خطا را در محیط مقصد از قبل بررسی کنید. راهنمای کامل در Python FFI documentation قرار دارد.
Learning path: ← Compiler Development · FAQ →
- Getting Started
- Installation
- Language Reference
- Types and Ownership
- Structs and Traits
- Modules and Projects
- Standard Library
- Error Guide
- Runtime Model
- Architecture
- Compiler Development
- Testing and Tooling
- Cookbook
- Python FFI
- FAQ
- Contributing