← board

Promote managed AnsiString from opt-in to default

Motivation

AnsiString now uses the heap-backed, refcounted, copy-on-write representation by default. The frozen fixed-capacity inline ABI remains available with -uPXX_MANAGED_STRING for compatibility testing.

Scope

Plan: ../../developer/plan-refcounted-compiler-strings.md. Delivered:

User direction (memory): wants per-use string typing / right-sizing, not a blunt global flip.

Acceptance

Managed strings selectable as default with all ownership paths covered; compiler self-host fixedpoint holds under the managed default; BSS drops accordingly.

Log