Performance Optimized Statically Typed Python
a day ago
- #Performance
- #Compilation
- #Python
- POST Python is a performance optimized, statically typed subset of Python that is compilable.
- It runs unmodified under CPython and can be compiled to native code without a Python runtime.
- Functions can be interpreted as Python, compiled to native C kernels, or turned into numpy.ufuncs.
- It emphasizes a normative specification over informal subsets, with conformance profiles for tools.
- The reference compiler rejects unsupported semantics clearly, avoiding silent behavior changes.
- PostSciPy is rebuilding SciPy as POST Python libraries to discover language gaps and drive development.
- Current status includes structural checking, scalar kernels, vectorization, cross-module linking, and CPython extensions.
- Specification is a draft v0.2, and interfaces are subject to change.