Files
aevolution/docs/adr/0001-language-toolchain.md
T
dingoandClaude Opus 5 d5b4bd068e Initial commit: architecture docs and headless engineering proof
Aeternalis Evolution, a custom-engine persistent evolutionary MMO.

This first commit establishes the project skeleton:

- Architecture and design docs: project vision, system overview,
  engineering constitution, roadmap, 19 ADRs, and the simulation,
  world, network, persistence and infrastructure architectures.
- Headless engineering proof: deterministic synthetic particles,
  component lifecycle, explicit PRNG streams, canonical snapshots
  and restored execution.
- Build and tooling: CMake 3.28+ / Ninja presets, C++23 feature
  check, clang-format and clang-tidy config, format check script,
  Windows check script, and a Docker build context.
- Tests: unit tests, benchmarks, a snapshot fuzz target and CLI
  integration wiring.

No gameplay, renderer, network service or running deployment yet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 15:44:41 -04:00

1.2 KiB

ADR-0001: C++23 subset and toolchain

Status

Adopted for proof. GCC14/Linux is the planned CI reference; local MSVC19.44, CMake3.31.6 and LLVM19.1.5 are available.

Context

Language mode does not guarantee standard-library feature support. The kernel needs portable values and explicit errors.

Decision

Use C++23 without extensions and compile-probe std::expected. Exclude modules, reflection and newer experimental facilities. Verify each compiler/library pair.

Alternatives Considered

C++20 plus expected polyfill adds dependency/migration work; unrestricted latest language weakens reproducibility.

Benefits

Modern error/value vocabulary and explicit agent-reviewable code.

Costs

Feature probes and multiple compiler lanes.

Risks

Toolchain drift and compiler/library mismatch; successful builds do not prove floating-point equivalence.

Consequences

Record tool versions; fail missing features clearly. Replay-test upgrades and pin release build images before promotion. Sources: GCC conformance, MSVC conformance.