Architecture Decision Records¶
Each ADR records one architectural decision: its context, the alternatives, the choice and its consequences. How ADRs are written explains the format and the statuses.
| # | Title | Status |
|---|---|---|
| ADR 001 | v0.4 roadmap: WASM-primary positioning + feature completeness | Closed |
| ADR 002 | Feature selection: per-feature -D flags with one frozen nano profile |
Accepted |
| ADR 003 | Library and module loading: micropython-lib direct + frozen-tiny + lazy-fetch | Accepted |
| ADR 004 | Benchmarking methodology | Accepted |
| ADR 005 | Future optimization: landscape map (PROTO) | Proto |
| ADR 006 | JS interop: direct DOM bridge via sync host calls | Accepted |
| ADR 007 | WASM fat loss: the size-reduction roadmap | In Progress |
| ADR 008 | Golden program tracking: what runs on petitpy | In Progress |
| ADR 009 | v0.5 roadmap: usable WASM + selective Python parity + size-then-perf | Implemented |
| ADR 010 | v0.6 roadmap: closing the wall, broadening the surface | Superseded by ADR 021 |
| ADR 011 | Everyday stdlib: dataclasses, pytest, and the eight modules a CPython script reaches for daily | Implemented in v0.7 |
| ADR 012 | Build profiles and the feature matrix: full as default, profiles as named feature bundles | Implemented |
| ADR 013 | Restoring exception unwinding across vendor-C frames (the try/except-over-MPZ wall) | Implemented in v0.7.0 (native full) |
| ADR 016 | Distribution: PyPI wheels and sdist, built by Zig from one machine | Accepted |
| ADR 019 | A garbage collector: vendor's heap, conservative roots, safe points on wasm | Implemented |
| ADR 020 | Quickening and the interpreter's next speed step | Implemented |
| ADR 021 | v0.9 roadmap: fewer surprises for a CPython user | Implemented in v0.9.0 |
| ADR 022 | Embedding: a small C API over a static library | Accepted |
| ADR 023 | v0.10 roadmap: the browser gets the CPython-facing build | Accepted |
Reading order¶
- Roadmap: ADR 009, ADR 010, ADR 021, then ADR 023.
- A new feature: ADR 002 (build flags), ADR 003 (module loading), ADR 008 (compatibility tracking).
- The browser build: ADR 001, ADR 006 (JS bridge), ADR 007 (size), ADR 023 (the
fullprofile in the browser). - Performance: ADR 004 (method), ADR 005, ADR 020.
- Embedding: ADR 022, with ADR 019 (the collector) and ADR 013 (exceptions raised in C).