can1357/pon — 570★ on GitHub (Rust). Python 3.14, compiled to metal — JIT & AoT native compiler and runtime in Rust. Cranelift backend, ruff parser, Green Tea GC, byte-exact differential testing against CPython.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
pon is a JIT & AoT native compiler and runtime for Python 3.14, written in Rust. There is no interpreter and no bytecode: every module is parsed with the ruff parser, lowered to one shared IR, and compiled to machine code through Cranelift — either just-in-time inside the process (pon run) or ahead-of-time into a standalone native executable (pon build). Memory is managed by a Green Tea garbage collector instead of reference counting, and correctness is enforced by a byte-exact differential harness against CPython v3.14.0.
The end goal is the bun/v8 of Python: a runtime that passes the CPython test suite, runs a multi-tier JIT well past CPython, ships single-binary executables, and includes batteries (package manager, tooling) out of the box. The project is under heavy active development — see Status for what is true today versus where it is going.
Quickstart
# JIT: parse → IR → Cranelift → run, in-process
printf 'def add(a, b):\n return a + b\n\nprint("hello, world")\nprint(add(2, 3))\n' > hello.py
cargo run -p pon -- run hello.py
# AoT: same IR through cranelift-object, linked into a native executable
cargo run -p pon -- build hello.py -o hello
./hello
Both paths print the same bytes CPython would. That property is not aspirational — it is the exit gate of the conformance suite (see Conformance).
One IR, two backends, one runtime ABI. Every tier — baseline JIT, optimizing JIT, and AoT — lowers the same IR and calls the same pon_* helper functions:
source.py
│ ruff parser (pinned 0.14.0, PythonVersion::PY314)
AST ──> PON IR (pon-ir, one IR for every tier)
│
├── pon run: pon-codegen ──> cranelift-jit ──> native code in process
│ tier-0 baseline (all boxed)
│ tier-1 typed: inline caches, OSR, background compile
│
└── pon build: pon-codegen ──> cranelift-object ──> object file ──> linked executable
│
pon-runtime (object model, builtins, NULL-sentinel pon_* ABI)
pon-gc (Green Tea garbage collector)
Object model: CPython's heap object layout minus the refcount header. Errors cross the ABI as NULL sentinels, not unwinding. Integers are arbitrary-precision (num-bigint behind PyLong); a tagged small-int fast path is landing in the typed tier.
Tiering: tier-0 compiles everything boxed with no type feedback and is the correctness baseline (PON_TIER0_ONLY=1 forces it). Runtime helpers feed FeedbackCell type profiles from the first execution; hot functions recompile on a background thread and running loops enter the optimized code via on-stack replacement.
GC: the Green Tea collector owns all Python objects. Tier-0 uses conservative stack scanning with a register-flush trampoline at safepoints; the typed tier upgrades to precise Cranelift user stack maps.
Workspace
Crate
Role
pon-ir
ruff-based frontend: parse Python 3.14, lower to the shared PON IR
pon-codegen
IR → Cranelift CLIF, shared by every backend and tier
All dependencies are declared once in the root Cargo.toml under [workspace.dependencies]; member crates only inherit (see AGENTS.md).
Conformance & testing
The correctness contract is differential: a corpus module passes only if pon produces byte-identical output to CPython v3.14.0 (TZ=UTC, PYTHONHASHSEED=0). Passing sets are ratcheted into committed floor files, and CI fails on any regression below the floor.
Suite
What it measures
Committed floor
cpython
corpus modules, JIT, byte-exact vs CPython 3.14
244 modules (conformance-floor.json)
cpython-aot-subset
same corpus compiled AoT and executed as native binaries
206 modules (aot-parity-floor.json)
cpython-full
CPython's own test suite (Lib/test), run under pon
being brought up (conformance-full-floor.json)
fuzz
differential fuzzing vs CPython; must stay at zero divergences
—
ft-stress
no-GIL/threading stress in the default runtime
—
The standing gate is scripts/gate.sh; only its output counts as a gate claim:
Corpus files are immutable once landed: new coverage is a new module, verified byte-identical against python3.14 before it enters the manifest. Divergences that are CPython's problem (not pon's) are recorded in pon-conformance/divergence-ledger.toml rather than papered over.
Package manager
pon includes a uv-style package manager built on pubgrub resolution and the standard pyproject.toml, targeting the PyPI simple index, wheels, sdists, editable installs, and VCS requirements. Its run command executes through the same runtime path as direct script dispatch while adding managed import roots. It is under active development and not yet integrated into the runtime gates.
pon init | add | remove | install | lock | run | list | freeze | show | download | check | cache | env
Pinned toolchain
These pins are settled workspace-wide and enforced by Cargo.lock / rust-toolchain.toml; do not drift them casually.
CPython v3.14.0, pinned in pon-conformance/vendor/cpython-3.14/REVISION
Status
What is verified today (all behind ratcheted, CI-checked floors):
pon run and pon build work end to end; the quickstart above is a smoke-tested example.
209 differential corpus modules byte-identical to CPython 3.14 under the JIT; 172 of them also pass compiled AoT.
The perf substrate is in place: background compilation, OSR, inline caches, type feedback.
What is explicitly not done yet — this is the active roadmap, in order:
CPython test suite (cpython-full): the standing grind; failures are clustered and burned down per wave.
Stdlib build-out: _io/os, math/struct/random, collections/itertools/json, datetime, importlib parity — each lands as a native module plus a differential corpus module.
AoT parity growth toward the full corpus, plus single-binary product polish.
No-GIL/free-threaded runtime hardening: thread/GC/signal stress is now on the default runtime path, with remaining gaps tracked by the ratcheted suites.
Known gaps at the language level are burned down through the ratcheted floors above — the committed floor files, not this README, are the authoritative compatibility baseline.
No homepage URL was recorded for can1357/pon in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Is can1357/pon open source?
TopGit's metadata for can1357/pon does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What else is in the Backend space?
can1357/pon is tracked by TopGit under the Backend category, alongside 9 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is can1357/pon?
can1357/pon (can1357/pon) is a Rust project on GitHub. From the project's own README: Python 3.14, compiled to metal — JIT & AoT native compiler and runtime in Rust. Cranelift backend, ruff parser, Green Tea GC, byte-exact differential testing against CPython.
Where do I read more about can1357/pon?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/can1357/pon is the definitive source.
Why is can1357/pon categorized under Backend?
TopGit places can1357/pon in the Backend category based on its GitHub topics and description (tagged: "aot", "compiler", "cranelift"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Curious whether pon is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about pon.