Skip to content

Releases

raptorgo v0.1.1

Choose a tag to compare

@fgn fgn released this 18 Jul 19:19

Performance release: roughly 4x faster end to end with the opt-in AVX2 build and 1.13x faster in default scalar builds, with the verification surface extended to match.

Highlights

  • GF(256) MulAdd now uses lane-duplicated VPSHUFB nibble product tables and XOR runs 128 bytes per iteration in the opt-in GOEXPERIMENT=simd build; paired kernel medians dropped from 223.2 ns to 46.0 ns (MulAdd) and 58.6 ns to 21.1 ns (XOR) per 1,280-byte symbol. The rewrite removes a hidden AVX-to-SSE transition stall in the previous kernel.
  • Hybrid inactivation execution gathers dense columns in bulk and updates HDPC rows through row views instead of per-element checked accessors, which also speeds up default scalar builds (1.13x paired).
  • Paired K=10,000/T=1280 medians on an i9-14900HX: 117.5 ms construct-plus-repair and 112.2 ms ten-percent-loss decode with SIMD, versus 487.4 ms and 509.2 ms scalar at the same commit. Methodology and frozen binary hashes in dev/perf/simd-optimization-log.md.
  • Workspace accounting gained exactly one shared column-gather scratch (4*(L-finalI) bytes, one steady allocation), mirrored in the formal workspace model and regenerated trace artifacts.
  • Fixed a silent mutation:changed no-op (git diff.mnemonicPrefix emptied the changed-line filter); the round's changed lines are now mutation-tested with survivors documented in docs/mutation-testing.md.
  • README rewritten for onboarding.

Compatibility

  • No public API changes. Requires Go 1.26 or newer; pure Go with no CGo or third-party runtime dependencies.
  • v0.x: the public API may still change before v1.

Verification at this tag: lint, default and SIMD test suites (including the runtime AVX2-off fallback), race, 386, checkptr, fuzz smoke, generated-artifact, TLA+, trace corpus, and both mutation gates all passed.

raptorgo v0.1.0

Choose a tag to compare

@fgn fgn released this 18 Jul 12:18

First tagged release of raptorgo, a pure-Go RFC 6330 RaptorQ codec.

Highlights

  • Bounded resource policy: every allocation-sensitive operation is preflighted against explicit Limits.
  • Authenticated delivery boundary: the decoder enforces decoded -> verified -> delivered; FEC success alone never triggers delivery.
  • Systematic packets emitted in O(packet bytes) regardless of block size, with a zero-allocation PacketInto caller-buffer path (~80 ns per 1,280-byte packet on the reference host).
  • Bidirectional trace validation: harvested production traces replay through bounded TLA+ models, and model-derived schedules drive the production decoder with full edge coverage of the two committed bounded graphs.

Compatibility and known limits

  • Requires Go 1.26 or newer; pure Go with no CGo or third-party runtime dependencies.
  • In-memory object API (no streaming); one source block spans at most 56,403 symbols; transfer length is capped at 942,574,504,275 bytes (RFC erratum 5548).
  • v0.x: the public API has had no external-user feedback yet and may still change before v1.

Verification at this tag: task ci, task verify (full TLC tier), and task test:release all passed. The claim-to-evidence map is in docs/invariants.md.