Repository navigation
main is now a pure Rust crate; the C++23 implementation lives in git history.
What is inside
- modules S1–S10:
field_map,event_queue,region_scheduler,automaton,fuzzy,dependency,diffusion,snapshot,rng,visualizer+prelude; - edition 2021, zero dependencies,
#![forbid(unsafe_code)]; - 78 contract tests (C++ suite of 72+ ported 1:1 and extended): SplitMix64 reference vectors bit-identical to C++, bit-exact snapshot rollback (NaN payloads,
-0.0), replay identity after rollback; - bench:
cargo run --release --bin eafar-bench— 478× speedup on a 4096×4096 world with 0.1% active regions; examples/heatmap.rs— sparse-world picture generator;- CI on cargo (build + test, non-blocking cross-platform checks).
Determinism
Same seed + same event sequence → bit-identical history; ascending-id iteration everywhere (BTreeSet); identical float-op ordering in diffusion kernels.
Full history: CHANGELOG.md