Skip to content

Port phase 7: cut over and delete the TypeScript math #227

Description

@wormeyman

Delete the TypeScript math in one step, now that all three planets render from
WASM.

Two test populations, handled differently

src/noise/ is imported by 155 of the 213 spec files, so this is the
largest single piece of the migration and it must not be a bulk delete.

  • The 98 specs that read a fixture. Their assertions were rebuilt in Rust as
    each phase landed, so removing them is a subtraction rather than a gap. Check
    that claim per file rather than assuming it.
  • The ~57 specs that import src/noise/ and read no fixture - memo
    behaviour, catalog shape, request routing. Inventoried one at a time. Some
    move to cargo tests, some become parity or seam tests, and some are testing an
    implementation that no longer exists and simply go.

Also here

  • Re-decide whether islands/ and preview/tiling.ts cross into Rust, with
    a real end-to-end number for what they then cost as a share. Before the port
    they were under 1%; after a 13x speedup on everything around them, that share
    necessarily grows, and the point of deferring the decision was to make it on a
    measurement rather than a projection.
  • Re-measure the CI shard balance. Do not quote one run: three runs of
    identical spec files have spanned 294-469s on this repo, a 59% swing.

Done when src/noise/ holds orchestration and catalogs only,
pnpm run verify is green, and the deployed app renders all three planets from
WASM with pnpm run verify:deploy confirming the build that shipped.

Parent: #215

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrust-portRust/WASM port of src/noise (tracked by #215)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions