Signed Provenance · Self-Checked rel="canonical" → https://blog.openie.dev/posts/game-engines/ 🟢 Live on Medium ↗
← Syndication Studio 63-Entry Hub ↗ Chronicle Importer ↗ Canonical Blog Post ↗ Primary Paper → 1-Cmd Replicate ↗ Verification ↗ Glossary ↗ Raw .md X JSON 9:16 TikTok MP4

Deterministic Cross-Platform Simulation Steps: Reconciling 1.69 mJ/Tick and the 7,728x Python-vs-C++20 Ratio

Verifies bit-identical 100,000-tick Q32.32 integer state steps across 8 languages and 4 CPU architectures, clarifying that 1.694 mJ/tick and 7,728x are Linux RAPL reported_j comparing C++20 -O3 against interpreted rce emit python (not Unity/Godot).

Verifies bit-identical 100,000-tick Q32.32 integer state steps across 8 languages and 4 CPU architectures, clarifying that 1.694 mJ/tick and 7,728x are Linux RAPL reported_j comparing C++20 -O3 against interpreted rce emit python (not Unity/Godot).

Signed Provenance · Self-Checked (human_in_gate = false; automated build, benchmark, and proof-checking scripts ran without manual override — not externally peer-reviewed; see Verification & AI-Use Disclosure and Epistemic Glossary).

Canonical Post-Review Essay (rel="canonical"): https://blog.openie.dev/posts/game-engines/

Primary Research Paper: https://research.openie.dev/papers/game-engines/

1-Command Replication Kit: https://github.com/openIE-dev/openie-research-experiments/tree/main/replicate · Study Repository: https://github.com/openIE-dev/rce

Canonical Artifact ID: blake3:tv:77911a4ef555be4fc2b485790d43a76cff398719ebebd3b0f3f9c1fffa353adb · Evidence Tags: [E] · [M] · [S] · Telemetry Class: unmetered


Deterministic Simulation Steps — 0 mismatches across 32 language-host cells and 1.694 mJ C++20 vs 13.09 J Python reported_j
Deterministic Simulation Steps — 0 mismatches across 32 language-host cells and 1.694 mJ C++20 vs 13.09 J Python reported_j

Cross-platform Q32.32 lockstep parity (32/32 cells) and reconciled 1.694 mJ/tick (C++20 -O3) vs. 13,090.57 mJ/tick (CPython 3.14) reported_j ratio (7,728x). Dedicated to the public domain under CC0-1.0.

Key Claims & Audited Scope ([T] / [E] / [M] / [S])

  1. [E · Reconciled Telemetry Class & Both Sides of 7,728x (reported_j)] Earlier metadata paired board_metered = false (measured_j = null) with an unqualified "1.7 mJ" and "> 7,000x" headline. Grounded in GE-H5 (src/content/papers/game-engines.md), both numbers are Intel Core i9-13900H Linux intel-rapl:0 socket reported_j over 500 ticks of N = 10,000 Q32.32 fixed-point actors: compiled C++20 (clang++ -O3) used 1.694 mJ/tick (0.0583 ms/tick, p99 = 0.0654 ms), Wasm32 (Node V8) used 2.211 mJ/tick (0.0724 ms), and Rust -O3 used 3.673 mJ/tick (0.1248 ms), compared against boxed interpreted rce emit python (CPython 3.14) at 13,090.57 mJ/tick (13.09 J/tick, 564.58 ms/tick)—a 7,728x (C++20) and 3,564x–7,728x speedup/energy cut over interpreted Python, not over commercial C++/C# engines (Unity Burst/DOTS, Unreal, Godot).
  2. [E · 32/32 Cross-Architecture Lockstep Parity] Replacing IEEE-754 floats (whose FMA contraction, x87/SSE rounding, and transcendental libraries diverge across chips) with Q32.32 fixed-point integer Forms yielded 0 state-hash divergences across 100,000 ticks in all 32 cells (8 target languages × 4 architectures: macOS arm64, Linux aarch64, Linux x86-64, Windows x86-64) in GE-H1.
  3. [E · Scope Boundary: State Logic Only, Not Rendering or Mesh Physics] Benchmarks step pure deterministic gameplay/kinematic state transitions; GPU rasterization/raytracing, triangle-mesh broadphase/narrowphase collision, audio mixing, and multithreaded ECS job stealing remain outside scope.

Telemetry & Frame-Budget Scope Note: The primary game-engines study (GE-H1 through GE-H4 and GE-H6 through GE-H9) is an unmetered cross-OS determinism and pixel-tolerance investigation (measured_j = null, board_metered = false) citing external 16.67 ms / 20 ms frame-budget orders of magnitude (such as GameRule's 65 µs/actor 308-actor 20 ms ceiling [S]). In GE-H5, the 1.694 mJ/tick vs. 13,090.57 mJ/tick (7,728x) Intel Core i9 Linux RAPL reported_j ratio measures compiled C++20 -O3 against boxed interpreted CPython 3.14 emitted from the same Form — never against native commercial C++/C# engines (Unity, Unreal, Godot).

Methods, Baselines, Sample Sizes (N) & Licensing Scope

Reconciling joules = null Metadata with 1.694 mJ/tick and 7,728x

In OpenIE’s manuscript frontmatter, board_metered: false indicates measured_j = null (no physical inline DC shunt or wall wattmeter was attached), not the absence of on-chip CPU counters. Setting this post’s energyClass explicitly to reported_j and naming both sides of the ratio removes all ambiguity [E]:

This 7,728x figure therefore measures the interpreter boxing tax removed by multi-target native codegen, not a speedup over handwritten C++ or Unity Burst/DOTS [E].

Deterministic Lockstep & Replay Verification (GE-H1)

Multiplayer rollback netcode (GGPO) and simulation replay require identical state hashes from identical input logs across heterogeneous client CPUs (arm64 Apple/Snapdragon vs. x86-64 AMD/Intel, browser Wasm32 vs. native server) [S]. By banning hardware-dependent IEEE-754 rounding from core transition Forms and compiling one Q32.32 specification across 8 targets, all 32 host×language combinations produced identical SHA-256 state digests after 100,000 steps [E].

Limitations & Unbenchmarked Subsystems

Energy & Telemetry Scope

All joule values are Linux intel-rapl:0 (L2) and macOS ri_energy_nj (L3) reported_j (measured_j = null, board_metered = false), compared strictly within the Intel Core i9-13900H GE-H5 run.

Epistemic Non-Mixing & Telemetry Ledger

Open Interface Engineering enforces strict non-mixing across physical rail shunts, on-chip counters, datasheet models, and uninstrumented analyses (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered — cross-class addition or direct cross-tier ratioing is blocked):

Related Work & Primary Literature ([S])

Replicate, Critique & Inspect Raw Artifacts


Prose and summary text dedicated to the public domain under CC0-1.0. Public replication harnesses and WAI1 schemas are licensed under Apache-2.0 unless explicitly noted in the licensing ledger above.