Skip to content

Feat(Compiler): Implement Release Mode IR (strip debug symbols/spans) #246

@ztripez

Description

@ztripez

Summary

Provide a mechanism to compile the Continuum World into a "Release" IR. This mode should strip all non-causal metadata to minimize memory footprint and maximize execution performance for large-scale simulations.

Tasks

  • Gated Spans: Use feature flags (e.g., debug-spans) to conditionally include Span information in IR structs.
  • Minified Identifiers: Replace human-readable SignalId strings with minimal numeric handles in release builds.
  • Metadata Stripping: Remove documentation, hint strings, and validation metadata from the compiled IR.
  • Runtime Optimization: Ensure the Runtime can operate in a mode where it doesn't store name-to-index mappings for signals unless required.
  • Compiler Flag: Add a --release flag to world-run and the compiler API to toggle this behavior.

Related

Epic #225

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions