FrankenNumPy

Docs/Overview

The Solution

FrankenNumPy rebuilds NumPy's behavior from scratch in safe Rust with two goals:

  1. Full behavioral compatibility with legacy NumPy. Not a subset, not "inspired by." The full API, edge cases and all.
  2. A tighter architecture with formal contracts, a deterministic shape/stride engine, a dual-mode runtime (strict / hardened), and differential conformance against a real NumPy oracle: CI gate G3 runs 381 NumPy-captured fixtures through the Rust engine, and the Python module is checked against live NumPy by the G2 conformance shards and by numpy's own test suite (see CI Gate Topology).

The full Python surface is reachable today through the fnp_python PyO3 extension, with native Rust fast-paths for performance-relevant operations (in fnp-python's own kernels, which use unsafe for borrowed-buffer views) and fallback to numpy for the rest. Coverage is structurally enforced by the fnp_python_covers_full_numpy_all conformance test, which iterates numpy.__all__ at run time against the live numpy on the build host.

This section in the README on GitHub